Search found 811 matches

by fraxzi
Fri May 23, 2008 4:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Change Dialog Style at runtime
Replies: 5
Views: 1243

I GOT IT!!! Oh my!!! that was easy and fast reply too :P :P :P I put .... ACTIVATE DIALOG oDlg NOWAIT CENTERED; ON INIT SetParent( oDlg:hWnd, oWnd:hWnd ) .... Now I can use dialog as popup and child to any window.... What am I thinking.... :lol: :lol: :lol: :lol: :lol: :lol: Thanks!
by fraxzi
Fri May 23, 2008 4:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: Change Dialog Style at runtime
Replies: 5
Views: 1243

Change Dialog Style at runtime

How to change dialog style define from resource? RC: INFO DIALOG 6, 15, 473, 347 STYLE WS_POPUP | WS_VISIBLE | WS_SYSMENU FONT 10, "Courier" { } PRG: //perfectly as expected DEFINE DIALOG oDlg RESOURCE 'INFO' ... ACTIVATE DIALOG oDlg //------------------- //on the other prg with child wind...
by fraxzi
Mon May 19, 2008 8:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: Time Picker?
Replies: 6
Views: 1280

I Got it! cDateTime := CToD('') cTimeDate := '' .... REDEFINE DTPICKER oDate VAR cDateTime; ID 114 OF oDlg REDEFINE DTPICKER oTime VAR cTimeDate; ID 115 OF oDlg ..... In RC: #define DTS_SHOWNONE 0x0002 #define DTS_TIMEFORMAT 0x0009 ....Date Format..... CONTROL "", 114, "SysDateTimePi...
by fraxzi
Mon May 19, 2008 8:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: Time Picker?
Replies: 6
Views: 1280

Hi Stefan!

I can't find DTS_SHOWNONE value anyware in my FWH... ERROR Compiling my .RC with 'expecting window control style' :cry:


I Can't find any working sample here either.


Thanks for the input and regards,




Ooooppppsssss

I found it!

#define DTS_SHOWNONE 0x0002
by fraxzi
Sun May 18, 2008 11:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Time Picker?
Replies: 6
Views: 1280

I already did... but error compiling ... Unresolved external '_HB_FUN_TTIMEPICK I used TTime() and it worked well on my function... My problem now is how to do a blank date on DEFINE DTPICKER using resource "SysDateTimePick32"? even if I make the variable value to CToD("..") stil...
by fraxzi
Sat May 17, 2008 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Objects in Dialog
Replies: 6
Views: 1187

Thanks Mr. Antonio! :D

That's a brilliant approach 8)


Regards,
by fraxzi
Sat May 17, 2008 5:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: Objects in Dialog
Replies: 6
Views: 1187

You are absolutely right Mr. James! 8)
by fraxzi
Sat May 17, 2008 2:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Objects in Dialog
Replies: 6
Views: 1187

Thanks for the reply :) I resorted to old fashioned solution.... I put function after 'ON CHANGE' on every GET objects... and enable the save button if there are changes... I was hoping that there is a function which has return (boolean) if any object's value was changed within the said dialog. Than...
by fraxzi
Sat May 17, 2008 2:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: Objects in Dialog
Replies: 6
Views: 1187

Objects in Dialog

How to know if user changed any get object's value within the dialog?

Any working sample please....


Regards,
by fraxzi
Fri May 16, 2008 2:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Time Picker?
Replies: 6
Views: 1280

Time Picker?

Date picker is fine... It works elegantly.

How about Time picker? I cant find any working sample here


Regards
by fraxzi
Wed May 14, 2008 5:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using table after .ADD connection / FWH and xHarbour
Replies: 3
Views: 782

SOLVED!

I was right in the first place....


adsconnect60(...) -> .T.
use table


My fault \\server\data\*.dbf has read restriction... now corrected!



Thank you for viewing this post :P
by fraxzi
Wed May 14, 2008 3:58 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using table after .ADD connection / FWH and xHarbour
Replies: 3
Views: 782

Thanks for your reply Mr. NageswaraRao,

...I tried that too but runtime error: Open Error :(
by fraxzi
Wed May 14, 2008 3:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using table after .ADD connection / FWH and xHarbour
Replies: 3
Views: 782

Using table after .ADD connection / FWH and xHarbour

After reading tons of post particularly from Mr.RF about ADS. Here's my code: ... ADSConnect60('\\server\data\database.add', ADS_REMOTE_SERVER, 'user', '***') has returned .T. ... inside the database.add has test.dbf my question is.... HOW CAN I 'USE' test.dbf? I thought of ... dbUseArea(.T., "...
by fraxzi
Sat May 10, 2008 8:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: resizing dialog defined from resource
Replies: 3
Views: 1359

Thanks so much senior Linares! 8)


I also use oDlg:Resize(...) when I only need the dialog/object to expand.


My best regards,


Mr. Frances A. Padilla
International Elevator & Equipment, Inc.
www.iee.com.ph
by fraxzi
Sat May 10, 2008 2:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: resizing dialog defined from resource
Replies: 3
Views: 1359

Was able to SOLVED IT! I add this: oRect := oChildWnd:oWndClient:GETCLIRECT() .... and this: ACTIVATE WINDOW oChildWnd; ON INIT ( oDlg:Move( 1,1,oRect:nRight, oRect:nBottom, .T.) .... I hope this works with other controls too like oFolder define within dialog (as resource) .... Is there better codin...