Search found 142 matches

by Frank Demont
Tue Oct 03, 2006 7:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Changing color from say
Replies: 2
Views: 602

Changing color from say

Hello, I try to change the text color from a say object with : oSay:Setcolor(CLR_HRED) ; oSay:refresh() But , it doesn't work. I Tryed it also in testsay2.prg , no succes // A sample showing to to let a SAY accept Clicks events #include "FiveWin.ch" function Main() local oDlg, oSay, oCurso...
by Frank Demont
Wed Sep 13, 2006 8:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Focus NOT visible on radiobutton or Checkbox (Second try)
Replies: 5
Views: 975

Enrico,

Yes , i will try it

But this means that the computer (or OS , XP S2) which build the aplication causes the problems ?

I tryed with xhb , i will also try it with bcc

Frank
by Frank Demont
Wed Sep 13, 2006 6:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Focus NOT visible on radiobutton or Checkbox (Second try)
Replies: 5
Views: 975

Focus NOT visible on radiobutton or Checkbox (Second try)

Hello, In Next program i have problems with the visibility from the checkboxes With define TESTSETFOCUS , on the init clausule check2 , should receive focus , but it isn't visible , no focus at all can be seen. Entering the TAB key gives the OK button focus , so the focus WAS on ocheck2 Entering oGe...
by Frank Demont
Sun Sep 10, 2006 7:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Focus NOT visible on radiobutton or Checkbox
Replies: 4
Views: 850

Enrico, I mentioned that a year ago ( +/-) i reportred the problem , WITH an example . also you has tryed it , but could not confirm the problem. There was a reaction from antonio , if i remember corectly , it should be a problem from windows. So , i am convinced there is a serious problem , at leas...
by Frank Demont
Sun Sep 10, 2006 9:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: Focus NOT visible on radiobutton or Checkbox
Replies: 4
Views: 850

Focus NOT visible on radiobutton or Checkbox

Hello, I still have problems with NON visible focus on Radiobuttons or checkboxes. I reported this , maybe a year ago , but this behaviour make the use from radiobuttons or checkboxes nearly impossible. I work on XP , service pack 2 , but the customers have other OS (wndows NT , ... ) I am wondering...
by Frank Demont
Fri Sep 01, 2006 11:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to kill a process
Replies: 8
Views: 2079

Missing FindWnd()

// from http://fivetechsoft.com/forums/viewtopic.php?t=1346&start=0&postdays=0&postorder=asc&highlight=findwindow%2A #define GW_HWNDFIRST 0 #define GW_HWNDLAST 1 #define GW_HWNDNEXT 2 #define GW_HWNDPREV 3 #define GW_OWNER 4 #define GW_CHILD 5 FUNCTION FINDWND( cTitle ) LOCAL hWnd :...
by Frank Demont
Fri Sep 01, 2006 8:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to kill a process
Replies: 8
Views: 2079

Rafael Here you have an example. In this example shellexecute starts wordpad with efkes.rtf. The use has to close this aplication first before continuing. If this not occured , the program will do that. Shellexecute(0 ,0 , "C:\TEMP\efkes.rtf" ,0 ,0 , 1) hWnd := FINDWND( "EFKES.RTF&quo...
by Frank Demont
Thu Aug 31, 2006 2:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ON MOVE from dialog or window
Replies: 2
Views: 621

ON MOVE from dialog or window

Hello, Trying to use ON MOVE , you can try # include "fivewin.ch" FUNC MAIN LOCAL oWnd DEFINE WINDOW oWnd FROM 10,10 TO 20,70 SET MESSAGE OF oWnd TO "TEST ON MOVE" CLOCK DATE KEYBOARD NOINSET oWnd:bMoved := {|nRow,nCol|oWnd:setMsg(LTRIM(STR(nRow)) + " , " + LTRIM(STR(nC...
by Frank Demont
Mon Aug 28, 2006 11:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Errors in window.prg ?
Replies: 0
Views: 357

Errors in window.prg ?

Hello Trying to use ON MOVE , i noticed : 1) oDlg:bMoved is executed with nRow,ncol , so the preprocessor should be (fivewin.ch and dialog.ch): <oWnd>:bMoved [ := \{ | nRow,nCol | <uMove> \} ], ; 2) Comparing two methods : case nMsg == WM_LBUTTONDOWN return ::LButtonDown( nHiWord( nLParam ), nLoWord...
by Frank Demont
Mon Aug 28, 2006 7:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: Resizing windows and dialog's
Replies: 0
Views: 394

Resizing windows and dialog's

Hello, http://hyperupload.com/download/02e18dd123/RESIZE.ZIP.html Contains a program to resize windows and dialog's , including the font. I had some problems that i couldn't solve : 1) TGROUP together with a bitmap or with a ON paint wndbox(...) clausule erases the bitmap or line 2) Usin ON PAINT Wn...
by Frank Demont
Wed Aug 23, 2006 12:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Resizing dialog , object TGROUP
Replies: 2
Views: 869

Resizing dialog , object TGROUP

Hello When in a dialog an object tgroup is present , next code doesn't work properly ( a BUG ???) When the dialog appears , the other controls (tget , button) are not visible , unless TAB is pressed Closing the dialog gives also errors . #include "FiveWin.ch" function Main(cNum) local oDlg...
by Frank Demont
Sat Aug 19, 2006 2:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: CONTROLS IN A WINDOW
Replies: 18
Views: 5127

Silvio 1) When you run mine example , run it ok ? 2) I suppose that you try it in your aplication , but i can't recognize the linenumber Called from: => RESIZECONTROLS(313) Which line in resizecontrol ? Also the variables in use can tell something , espacialy from resizecontrols Is len(acoordinates)...
by Frank Demont
Sat Aug 19, 2006 10:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: Changing font from oSay
Replies: 2
Views: 848

Manuramos,

Thank you very much , this i needed to complete to make windows resizing the controls , also with the font.

You may see the result in the thread from silvio (controls ...)

Frank
by Frank Demont
Sat Aug 19, 2006 10:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: CONTROLS IN A WINDOW
Replies: 18
Views: 5127

Resizing with fonts

Silvio, Now you have a working sample from resizing also the fonts Fonts are only resized when the vertical factor exceeds 10 , 20 , 30 .. % from 1 . This can be changed in the increment ( 10 or -10 ) from currentheight Frank FUNCTION MAIN() *************** LOCAL oWnd , oFont LOCAL cVar := PAD("...
by Frank Demont
Fri Aug 18, 2006 12:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Changing font from oSay
Replies: 2
Views: 848

Changing font from oSay

Hello , I try to change the font from a existing osay , but it seems not easy 1) obj:oFont := oFont (changed) ; obj:refresh() doesn't work 2) Obj:end() obj := TSay():New(0,10,{||txt},oDlg,,ofont(new)... ) // from ppo-file obj:Activate() Seems to work , at least the first time , not when the button i...