FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Sample DatePicker
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Sample DatePicker
Posted: Tue Oct 21, 2008 09:12 AM

Hi All

I am using FWH 7.12 and xHarbour 1.0.0 can someone supply a sample of using the DatePicker

I created a dialog and placed a custom control "SysDateTimePick32" on it and used the sample code but when the dialog opens the control opens below the dialog - if some one has a working sample that would be great.

Cheers

Colin

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Sample DatePicker
Posted: Tue Oct 21, 2008 03:49 PM

see fw\samples\datetime.prg

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Sample DatePicker
Posted: Tue Oct 21, 2008 11:48 PM

Hi James

I found the datetime.prg but cannot find the resource file "main" do you have a copy.

regards

Colin

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Sample DatePicker
Posted: Wed Oct 22, 2008 12:05 AM

Colin,

Try using datetime.rc instead. You may have to edit it with an editor and change the name of the WindowsXP.Manifest file to use a three character extension (Borland can't handle longer ones). You will also have to create a new WindowsXP.Man file.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Sample DatePicker
Posted: Wed Oct 22, 2008 12:39 AM

Hi James

Thanks - I found after looking ath .rc that I was making my control to big.

Regards

Colin

Continue the discussion