#include "hmg.ch"
Function Main
DEFINE WINDOW Win_1 AT 0,0 WIDTH 400 HEIGHT 200 TITLE 'Tutor 01 -
Hello World!' MAIN
END WINDOW
ACTIVATE WINDOW Win_1
If you like HMG programming style, you have the following choices:
- HMG 3 , HMG 4 (qt based and multiplatform)
- MiniGUI Extended
- OOHG
- HBQTCOMMAND
2011/8/25 Marta <gllm...@gmail.com>:
--
Massimo Belgrano
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
--You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
i suggesthbmk2 testzt.prg -runundefined reference to `HB_FUN_TIMEVALID'undefined reference to `HB_FUN_TIMETOSEC'so add -lhbct(Hi Viktor Will prefix lib instead "-l" be also one symbol like +hbct or #hbct ? to be more readeable)(HI Pritpal will hbide be more ready to use start hbide,past my prg code on empty tab ,and compile with 3 click/keyb )hbmk2 testzt.prg -run -lhbctwork fine but jumping with mouse give follow error
Error BASE/1072 Argument error: <>Called from (b)MAIN(54)Called from HBGETLIST:GETPREVALIDATE(0)Called from HBGETLIST:HITTEST(0)Called from HBGETLIST:GETAPPLYKEY(0)Called from HBGETLIST:READER(0)Called from HBGETLIST:READMODAL(0)Called from READMODAL(0)Called from MAIN(59)
--
Massimo Belgrano
Viktor
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
BTW 'hbct.lib' format is now recognized on all systems andwith all C compilers, so it's still not elegant, but portable in3.1.0dev versions.
I think the problem is rather to identify which lib (contrib,addon) is needed when certain symbols are shown missing.There is no easy answer for that however. Step forward is tomore tightly integrating the compiler and hbmk2.
Viktor
> Do you mean some like this:
> // @ kov+i,15 GET zidot[i] PICT "99999" WHEN IIF
> (&(readvar())<>0, .t., percszamol(zidop[tomb_ind()],
> zidov[tomb_ind()],.t.));
> // VALID kiesettidokiir()
> @ kov+i,15 GET zidot[i] PICT "99999" WHEN IIF (zidot[i]<>0, .t.,
>
> percszamol(zidop[i], zidov[i],.t.));
> VALID kiesettidokiir()
> This is wrong, because the subscript's [I] value equal with 6 after
> the FOR i:=1 TO 5...NEXT . Or I must use five @GET commands?
When your gets are elements in an array and you get them in a loop, then
the subscript at "read time" will always be the number of the last
element plus one, so as you noticed that will not work. Instead you can
use when and valid clauses in codeblocks similar to
valid {|| getactive():varget() == 'whatever' }
where the name or subscript of the variable in the active get does not
matter. You just examine the data it holds.
If you have access to the Clipper 5.x manual you can read about it at
the beginning of the chapter describing the get system.
Regards,
Klas
> complete Clipper reference can be found at the following address:
>
> http://www.itlnet.net/programming/program/Reference/c53g01c/menu.html
That is the Norton Guide, converted to HTML. Quite useful, I am sure,
for those who do not have the .ng file available. And it is probably as
complete as the .ng file is. But I was referring to the manual, the
thing made of paper :-). I use the .ng file all the time to check syntax
details, but for really learning how to use codeblocks, the get system,
the RDDs, etc, the paper manual is required reading.
Regards,
Klas