Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - SOS: URGENT SkinFramework with DTPicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOS: URGENT SkinFramework with DTPicker

 Post Reply Post Reply
Author
Message
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2007 at 4:30am
Hi,
 
Add
 
SkinFramework1.RemoveWindowClass "DTPicker20WndClass"
before you call LoadSkin/ApplyWindow.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 6:19am
Originally posted by oleg oleg wrote:

Hi,
 
Add
 
SkinFramework1.RemoveWindowClass "DTPicker20WndClass"
before you call LoadSkin/ApplyWindow.


Hi, I guess this just basically remove the skin feature from the dtpicker and not fixing the problem?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.