|  | 
| SOS: URGENT SkinFramework with DTPicker | 
| Post Reply   | 
| Author | |
| cybeh   Groupie     Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |  Post Options  Thanks(0)  Quote  Reply  Topic: SOS: URGENT SkinFramework with DTPicker Posted: 09 February 2007 at 7:43pm | 
| 
   Hi, SkinFramework is doing fine with the DTPicker until recent 10.4.2 version. In my dtPicker mask, I set it to "dd - MMM - yyyy", and it's showing 01 - Jan - 2007, but after I upgrade to the new version, it changed the display back to 01/01/2007 Please advice.  | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 11 February 2007 at 4:30am | 
| 
   Hi,
 Add SkinFramework1.RemoveWindowClass "DTPicker20WndClass" before you call LoadSkin/ApplyWindow. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| cybeh   Groupie     Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |  Post Options  Thanks(0)  Quote  Reply  Posted: 15 March 2007 at 6:19am | 
| 
 Hi, I guess this just basically remove the skin feature from the dtpicker and not fixing the problem? | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 16 March 2007 at 12:49am | 
| 
   Unfortunatelly Mask is extension of Visual Basic. Standard DatePicker don't have such property. 
    | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| cybeh   Groupie     Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |  Post Options  Thanks(0)  Quote  Reply  Posted: 16 March 2007 at 6:53am | 
| 
   Hi, Sorry that I may use the wrong term. It's the "custom format" in the DTPicker property page. - In the General Format, you select "dtpcustom" and in theCustomFormat, you placed in "dd-MMM-yyyy" I think the control still work very well with 10.0.1. Everything was fine until we upgrade to 10.0.2 Please advice. | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 19 March 2007 at 2:23am | 
| Hello, yes, right. This "CustomFormat" property is Visual Basic extension. from MFC code we can't catch it and process. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| cybeh   Groupie     Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |  Post Options  Thanks(0)  Quote  Reply  Posted: 19 March 2007 at 8:32am | 
| 
   But why it can be done while it's 10.0.1 or before? If we remove the skinFramework, then the interface look funny. If we let it be, then we can't use the format that we want. For now, our current solution would be, during the page load, we reset the format dtDB(i).CustomFormat = "dd-MMM-yyyy" Hope that solution will be out ASAP. Thanks. | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |