more Newbie Question

more Newbie Question

Postby Jimmy » Sun Dec 22, 2019 7:37 pm

hi,

when working with FiveWin i got some Newbie Problem :

how can i disable that fwcmd.chm (Command Guide) stay ON TOP :?:

how can i get rid of DOS BOX when start my GUI App ( Appsys ) :?:

---
Question :

DEFINE WINDOW vs. DEFINE DIALOG not sure about difference :?:

Coordinate like this with "." and decimal :?:
Code: Select all  Expand view
@12.5, 1.0 BUTTON "open" ;


Object as Parameter vs. PUBLIC
this crash
Code: Select all  Expand view
LOCAL oForm
...
MENU BuildMenu(oForm)
...
static function BuildMenu(oForm)
   ACTION oForm:End() // -> crash

and this work
Code: Select all  Expand view
PUBLIC oForm // work
...
MENU BuildMenu()
...
static function BuildMenu()
   ACTION oForm:End()


XP Manifest
in my CLICK2.RC i hace
Code: Select all  Expand view
  1 24 "WindowsXP.Manifest"

but Button still display in Old Style so no Manifest is "active" :?:

please help me with those Question, Thx
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: more Newbie Question

Postby Jimmy » Mon Dec 23, 2019 5:30 am

hi,

how can i get rid of DOS BOX when start my GUI App ( Appsys )

when i start from Total Commander or ShortCur from Desktop i got a DOS BOX with Title "Click2.exe Verknüpfung" :?

when start from CMD BOX it is "locked" until App end
i have include Appsys
Code: Select all  Expand view
PROCEDURE AppSys
RETURN

PROCEDURE main( filespec )
...
DEFINE FONT oFont NAME "ARIAL" SIZE 0, - 12
DEFINE WINDOW oForm ;
        TITLE " Click FiveWin Version" ;
        FROM nTop, nLeft TO nBottom, nRight PIXEL ;
        NOMAXIMIZE ;
        MENU BuildMenu()

@  0,  3 PROGRESS oProgress OF oForm SIZE 970, 20

@  0, - 1 GET oStatusBox VAR cStatusBox ;
        OF oForm ;
        MEMO ;
        SIZE 970, 150 ;
        FONT oFont ;
        PIXEL
// NO VSCROLL
oStatusBox:Move( 30, 20 )

@  0, - 1 GET oInBox VAR cInBox ;
        OF oForm ;
        MEMO ;
        SIZE 970, 250 ;
        FONT oFont ;
        PIXEL
// NO VSCROLL
oInBox:Move( 190, 20 )

@  0, - 1 GET oOutBox VAR cOutBox ;
        MEMO ;
        FONT oFont ;
        SIZE 970, 250 ;
        OF oForm ;
        PIXEL
// NO VSCROLL
oOutBox:Move( 450, 20 )

//   main_screen( filespec )
//   StartClick( filespec )

ACTIVATE WINDOW oForm CENTER

RETURN
 

i have read that GET / MEMO have Option NO VSCROLL but i got a Systax Error when try it

my *.BAT does not make a *.RES so how to modify it :?:

but my BIG Problem still is that when switch to other App all "Output" stop an Titlebar of FiveWin App say "no response" :shock:
i have try to include hb_IdleSleep( 0.01 ) but it does not help.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests