Page 2 of 2

Re: TMultChoice

Posted: Wed Oct 04, 2023 3:28 pm
by Red2
Hi All,

Thank you gisjr134. I did what you suggested.

Once I replaced NOBORDER with /* NOBORDER */ the project compiled and ran.
The two .PRG files that need this replacement are:
AuxFunc1.PRG and
LstMultChoice.PRG

Regards,
Red2

Re: TMultChoice

Posted: Thu Oct 05, 2023 3:16 am
by AUGE_OHR
hi,

thx, i got it running now :D

i was confuse while in AuxFunc1.PRG i found

Code: Select all

#include <minigui.ch>
and thought Minigui is used

---

tip : use a CODE "Formatter"
https://www.hmgforum.com/viewtopic.php?t=6223

p.s. put all HB_FUNC into HB_FUNC.PRG as CLICK can not handle "C" Code

Re: TMultChoice

Posted: Thu Oct 05, 2023 2:53 pm
by gisjr134
Hi To All ,

I use Ultra Edit , so i dont have how to indent\formatter the Code. And the Tools i Know does not recognize the 'Define window' , In order to Formatter the code i need a Tool for Hmg Syntax. But Thank´s for the Sugestion. There is a Formatter in VS Code , But It Has This problem descrived Above.I Didn´t Know This CLICK Tool.

Re: TMultChoice

Posted: Thu Oct 05, 2023 3:11 pm
by mol
HI!
I've compiled your project in HMG344 and every time when I use wheel on my mouse I get an error:

Code: Select all

Date:10/05/23 Time: 17:09:55
Error BASE/1003 Variable does not exist: NWPARAM
Called from XMULTCHEVEN(499) 
Called from EVENTPROCESS(159) 
Called from DOMESSAGELOOP(0) 
Called from _ACTIVATEWINDOW(5717) 
Called from DOMETHOD(9003) 
Called from MAIN(46) 

Re: TMultChoice

Posted: Thu Oct 05, 2023 4:29 pm
by gisjr134
LOCAL nWParam := EventWPARAM() ,

Just Add in The Begin of the Function XMULTCHEVEN.

Re: TMultChoice

Posted: Wed Oct 18, 2023 10:44 am
by tonton2
I've compiled your project in HMG344 and HMG3.6, but I have got this error

C:\Users\Youcef\OneDrive\Bureau\MULTICHOIX\AuxFunc1.Prg(1) Error F0029 Can't open #include file 'dll.ch'

Re: TMultChoice

Posted: Wed Oct 18, 2023 11:29 am
by tonton2
after removing dll.ch it gives me this error:
C:\hmg.3.4.4\SAMPLES\MULTICHOIX\LstMultChoice.Prg(238) Error E0030 Syntax error "syntax error at 'WINDOW'"

Re: TMultChoice

Posted: Wed Oct 18, 2023 11:37 am
by tonton2
It's OK thank you Merci beaucoup