TMultChoice

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Red2
Posts: 273
Joined: Sat May 18, 2019 2:11 pm
DBs Used: Visual FoxPro, FoxPro
Location: United States of America

Re: TMultChoice

Post 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
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: TMultChoice

Post 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
have fun
Jimmy
gisjr134
Posts: 44
Joined: Tue Dec 08, 2020 11:37 am
DBs Used: DBF,MySQL,PostgreSQL
Location: Brasil
Contact:

Re: TMultChoice

Post 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.
User avatar
mol
Posts: 3726
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: TMultChoice

Post 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) 
gisjr134
Posts: 44
Joined: Tue Dec 08, 2020 11:37 am
DBs Used: DBF,MySQL,PostgreSQL
Location: Brasil
Contact:

Re: TMultChoice

Post by gisjr134 »

LOCAL nWParam := EventWPARAM() ,

Just Add in The Begin of the Function XMULTCHEVEN.
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: TMultChoice

Post 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'
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: TMultChoice

Post 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'"
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: TMultChoice

Post by tonton2 »

It's OK thank you Merci beaucoup
L'Algerie vous salut
Y.TABET
Post Reply