Hi, I notice that when moving the mouse over the browse area, the update is immediat. Is there a way to make it automatic without having to move the mouse over the area ? But after refresh, the crash is always present :( A+
An improvment of the message: Hi, I have a dbf file which is put in an array, which is used by browse. This array contains the complete dbf. For searchng purpose, I use dbfilter(). I asize() the array to zero, and reconstruct the array with dbfilter() setted. The first problem, is that the refreshing is very long (about one or two minutes), and when it is refreshed, I very often have a crash without output message when I click on an element, or if I use the keyboard to change the element. I don't...
Bug with browse after refresh
Hi, Thanks it works nicely now A+
Bug with hwg_IsCheckedMenuItem
up
up
Encoding error in script under linux
ownerbutton() don't display image under Linux
Hi, I don't want here to use browse here, and it's already an array which has now 354 elements, and will quickly grow to one hundred more ... Here are the elements structure : ... Télérama 2374 grille 304 ... Télérama 3642 grille 912 Télérama 3643 grille 913 Télérama 3644 grille 914 ... Here is a way, not really what I want, but it helps a little, and is really faster than browsing or searching in a combobox. The only ennoying detail, is that I must use UP or DOWN keys too change the element, else...
Hi, I don't want here to use browse here, and it's already an array. Here is a way, not really what I want, but it helps a little, and is really faster than browsing or searching in a combobox. The only ennoying detail, is that I must use UP or DOWN keys too change the element, else it begins at the beginning of the array. Bus, when we know it, it's not really a problem. cTitle=hwg_MsgGet( "Donner titre [ et numéro de grille ]", "Titre de la grille[,numéro de la grille]",,oMainWindow:nLeft+180,oMainWindow:nTop+130,,...
Hi, I don't want here to use browse here, and it's already an array. Here is a way, not really what I want, but it helps a little, and is really faster than browsing or searching in a combobox. The only ennoying detail, is that I must use UP or DOWN keys too change the element, else it begins at the beginning of the array. Bus, when we know it, it's not really a problem. cTitle=hwg_MsgGet( "Donner titre [ et numéro de grille ]", "Titre de la grille[,numéro de la grille]",,oMainWindow:nLeft+180,oMainWindow:nTop+130,,...
Hi, I don't want here to use browse here, and it's already an array. Here is a way, not really what I want, but it helps a little, and is really faster than browsing or searching in a combobox. The only ennoying detail, is that I must use UP or DOWN keys too change the element, else it begins at the beginning of the array. Bus, when we know it, it's not really a problem. cTitle=hwg_MsgGet( "Donner titre [ et numéro de grille ]", "Titre de la grille[,numéro de la grille]",,oMainWindow:nLeft+180,oMainWindow:nTop+130,,...
Hi, I don't want here to use browse here, and it's already an array. Here is a way, not really what I want, but it helps a little, and is really faster than browsing or searching in a combobox. The only ennoying detail, is that I must use UP or DOWN keys too change the element, else it begins at the beginning of the array. Bus, when we know it, it's not really a problem. cTitle=hwg_MsgGet( "Donner titre [ et numéro de grille ]", "Titre de la grille[,numéro de la grille]",,oMainWindow:nLeft+180,oMainWindow:nTop+130,,...
Hi, ok for this sample, but I have others combobox where the elements are very high, (about 300), and where the initialisation can't be used. Is there a way to have an empty element as first element, and the way to enter something to directly find this element ? Thanks A+
How to choose an element in @ x,y get combobox
Sorry, but I forget to initialize the variables, so itf I just click on ok, it fails Initializing the variables makes the trick You can close Thanks A+
Ok, now it's good. Thanks You can close.
Hi, here is a cleared version which has been build with r3438 and r3439 Unzipping the file will create a folder 3439 in which you will find a 3438 build and a 3439 build. They must been launched from a terminal. Without a parameter, it will display the window with controls. It works with 3438 build, and crashes with 3439 build. You will see the messages in the terminal. If you add a parameter (just a character for example) with it then works wih 3439 build. Thanks A+
Oups .. I forget the prg (Error with window line 502) All the lines and ON ACTIVATE are commented to make it not to crash
Linux : GLIB/GDK error since r3839
Curious problem ...
Under Linux : Error BASE/6101 Unknown or unregistered symbol: HWG_SELECTFOLDER Called from (b)HWG_ERRSYS(19) Called from HB_HRBRUN(0) Called from RUNSAMPLE(334) Called from (b)MAIN(112) Called from HOWNBUTTON:MUP(330) Called from HOWNBUTTON:ONEVENT(152) Called from HWG_ACTIVATEMAINWINDOW(0) Called from HMAINWINDOW:ACTIVATE(360) Called from MAIN(146) HWGUI 2.23 dev Build 5 Date:09/29/23 Time:09:55:36 Thanks A+
What about gthwg. You don't need it if don't build a console pseudo-console app. ok, I have seen in the prg source. I will remove definitively it from hwbuild. It seems that you've confused yourself and me For the gt error message when using hwgdebug, here is what I have : HwMake : hello always crashes with the gt error hwbuild : hello always crashes with the gt error Without hwgdebug, it always run without error when I comment $gt. I probably didn't clearly explain , that's why it confused you....
Ok for hwbuild, I'll have to read again the use of libgthwg. But as I comment the inclusion of $gt, it doesn't include this gt (same with hwmake which for now doesn't include gthwg), and when building with hwgdebug, it crash with the same error. Is-it to say that, when using hwgdebug, I must use gthwg instead of gtcgi ? Thanks A+
Okfor hwbuild, I'll have to read again the use of libgthwg. But as I comment the inclusion of $gt, it doesn't include this gt, and when building with hwgdebugger, it crash with the same error. Is-it to say that, when using hwgdebugger, I must use gthwg instead of gtcgi ? Thanks A+
Hi Alexander, I use two differents tools : ° HwMake Linux (an hwgui program) ° hwbuild (a bash script) With the two tools, it build without problem when no debugger, and crashes with debugger. I send you my script, and the logs with and without debugger for the two tools and the script hwbuild. In hwgui, I modified the line building HWGUI_LIBS, because the presence of ${gt}, ${misc} or ${ext} make the script to crash even without debugger (same error). This problem doesn't occurs in HwMake Linux,...
It works with Xubuntu 20.04
on my laptop under Xubuntu 16.04 too, same problem with r3224. A+
Were there some modifications which can explain the problem ? A+
All prg crash with hwgdebug
Hi Wilfried, There were a typo in line 77 of Test113.prg ??? @ 10,170 HCEDIT oComment_FR SIZE 450, 60 BACKCOLOR hwg_ColorC2N("FFFFFF") COLOR hwg_ColorC2N("000000") oInfo_EN:SetText(cInfo_EN,,,,) instead of : @ 10,170 HCEDIT oInfo_EN SIZE 450, 60 BACKCOLOR hwg_ColorC2N("FFFFFF") COLOR hwg_ColorC2N("000000") oInfo_EN:SetText(cInfo_EN,,,,) which was the reason of : Error BASE/1004 No exported method: SETTEXT Called from SETTEXT(0) Called from TRANSLATE(78) Called from (b)MAIN(24) Called from HBUTTON:ONEVENT(453)...
Hi, It's ok, and you can close the tichet. Just a little remark: To have a better visual, add a blank line before End message ;) A+
No trick ? A+
Hi Wilfried, I have retrieved this old ticket. I have build Ticket113.prg using the hbp. It builds, but crashes when running. Error BASE/1004 No exported method: SETTEXT Called from SETTEXT(0) Called from TRANSLATE(77) Called from (b)MAIN(24) Called from HBUTTON:ONEVENT(453) Called from HWG_ACTIVATEMAINWINDOW(0) Called from HMAINWINDOW:ACTIVATE(360) Called from MAIN(26) If I comment this line, it crashes no more ... I don't find any reason. A+
Hi Wilfried, It's ok with these files now. But I forget to send you a version of dbfstru.prg with a lot of warnings which have been pacified... A+
No more problem with hwglblsample A+
ok for what you modify. I suppose it was the impossibility to close the help window. No ? For hwlblsample, I found the reason : libhwlabel was called 2 times. I comment it in hbp file, and it's ok now. You can close the ticket. Thanks A+
ok for what you modify. I suppose it was the impossibility to close the help window. No ? For hwlblsample, I found the reason libhwlabel was call 2 times. I comment it in hbp file, and it's ok now. You can close the ticket. Thanks A+
Some little problems with some hwgui files
Hi Wilfried, ok for hwlbledt. But I have always the same error on hwlblsample I have no Win PC, only linux ... A+
Yes, I see, but modifying the Makefile it builds for other functions. You can make it if you want. You can close A+
Hi, removing hcomboex from mymake.linux, it builds correctly. Could it be en error in hcomboex.prg ? A typo between windows.h and windows.ch ? Thanks A+
Error trying to build extctrl lib under linux
Hi Wilfried, The prg I sent is a version of hwlbledt.prg adding the french translation of the same prg name. The error I had was concerning hwlblsample.prg A+
Hi Wielfried, The prg I sent is a version of hwlbledt.prg adding the french translation of the same prg name. The error I had was concerning hwlblsample.prg A+
Hi, now I send you a version of hwlbledt with french language A+
Hi, now I send you a version of hwlbledt with french language A+
Hi, now I send you a version of hwlbledt with french language A+
Hi, now I send you a version of hwlbledt with french language A+
Hi, now I send you a version of hwlbledt with french language A+
Error building hwglblsample under linux
Hi Wilfried, A see that it works, but with an ennoying problem : whatever the position of the mouse on the titles of tabs, the tooltip is always that of the active tab ... Which is not really satisfactory ... Is there anyway to match the tooltip and the tab where is located the mouse? Thanks A+
Hi Wilfried, Sorry for the long time of silence, but I was very very busy (and that's always the case) Yes, it works fine, I just notice that I ought use an object instead of a variable, and refer to the tab instead of to the window I'm just aware to know a list of warnings where is located W0035, as it looks like w0004 I will test the conditions which makes the test to crash Yes you can close Thanks A+
Hi Wilfried, Sorry for the long time of silence, but I was very very busy (and that's always the case) Yes, it works fine, I just notice that I ought use an object instead of a variable, and refer to the tab instead of to the window I'm just aware to know a list of warnings where is located W0035, as it looks like w0004 I will test the conditionb which makesthe test crash Yes you can close Thanks A+
So, we must add the size oy the tab title, and a little more. The problem, is that the initial value 0 covers the new one... function update_count() MEMVAR oDlg, cNbChecked, nbChecked cNbChecked=ltrim(str(nbChecked)) @ 173,72 say cNbChecked of oDlg SIZE 60,22 STYLE WS_DLGFRAME //@ 173,58 say cNbChecked of oDlg SIZE 60,22 STYLE WS_DLGFRAME RETURN .T. And I don't know how to solve this problem ...
How to update a tab ?
Version 1.66
ConRoyX, Salut, mon post a semble-t-il été bloqué ... il y a une semaine Peux-tu me contacter à alain<dot>aupeix<at>wanadoo<dot>fr ?</dot></at></dot> Merci A+
Sorry, but I post here instead of discussion. As it seems the same problem ... En fouinant un peu, j'ai trouvé ces liens : https://manpages.ubuntu.com/manpages/bionic/man1/jsymphonic.1.html https://manpages.ubuntu.com/manpages/bionic/man7/java-wrappers.7.html https://ubuntuforums.org/showthread.php?p=6446800#post6446800 https://ubuntuforums.org/archive/index.php/t-716477.html Ils sont un peu vieux, et ne m'ont pas avancé ... De plus, j'ai un plantage java, qui étais déjà présent avec la version 0.3.0,...
En fouinant un peu, j'ai trouvé ces liens : https://manpages.ubuntu.com/manpages/bionic/man1/jsymphonic.1.html https://manpages.ubuntu.com/manpages/bionic/man7/java-wrappers.7.html https://ubuntuforums.org/showthread.php?p=6446800#post6446800 https://ubuntuforums.org/archive/index.php/t-716477.html Ils sont un peu vieux, et ne m'ont pas avancé ... De plus, j'ai un plantage java, qui étais déjà présent avec la version 0.3.0, et qui semvle toujours y être avec la dernière version : https://sourceforge.net/p/symphonic/bugs/64/...
Le DvId qui sont là, sont des restes de tentatives, en fait, il semble qu'il doive être dans le dossier OMGAUDIO, mais je ne pense pas que ce soit là le problème. Voici l'arborescence du lecteur: alain@Gramps-JujuLand2:/media/alain/A091-E093$ sudo tree ├── DvID.dat ne sert probablement pas ├── NWWM base de donnée ?? │ ├── BRWLIST.DAT │ ├── DvID.dat ne sert probablement pas │ ├── FNOTABLE.DAT │ └── oDvID.dat ancienne version, ne sert probablement pas ├── oDvID.dat ancienne version, ne sert probablement...
Le DvId qui sont là, sont des restes de tentatives, en fait, il semble qu'il doive être dans le dossier OMGAUDIO, mais je ne pense pas que ce soit là le problème. Voici l'arborescence du lecteur: alain@Gramps-JujuLand2:/media/alain/A091-E093$ sudo tree ├── DvID.dat ne sert probablement pas ├── NWWM base de donnée ?? │ ├── BRWLIST.DAT │ ├── DvID.dat ne sert probablement pas │ ├── FNOTABLE.DAT │ └── oDvID.dat ancienne version, ne sert probablement pas ├── oDvID.dat ancienne version, ne sert probablement...
Le DvId qui sont là, sont des restes de tentatives, en fait, il semble qu'il doive être dans le dossier OMGAUDIO, mais je ne pense pas que ce soit là le problème. Voici l'arborescence du lecteur: alain@Gramps-JujuLand2:/media/alain/A091-E093$ sudo tree ├── DvID.dat ne sert probablement pas ├── NWWM base de donnée ?? │ ├── BRWLIST.DAT │ ├── DvID.dat ne sert probablement pas │ ├── FNOTABLE.DAT │ └── oDvID.dat ancienne version, ne sert probablement pas ├── oDvID.dat ancienne version, ne sert probablement...
Le DvId qui sont là, sont des restes de tentatives, en fait, il semble qu'il doive être dans le dossier OMGAUDIO, mais je ne pense pas que ce soit là le problème. Bon, je vais gratter ailleurs pour voir ... A+
Hum, c'est sous XP et je suis sous Xubuntu ... Voici quelques captures qui permettent de voir que je suis bien connecté (c'est automatique sous Linux) Ensuite, je n'arrive pas à démonterle volume. Quand j'essaye de lire, j'ai des messages d'erreurs 'MG ERROR' ou 'HOLD' A+
Hum ... ça c'est sous xp, moi je suis sous Xubuntu voici quelques copies écran qui pourraient être une piste ...
ConroyX, Comment tu as fait ? A+
Hi, I have tried this version of DvID.dat with my MW E405, and it doesn't complain that the file is missing, but When I try to import a music, if the database is updated,j the plyer indicate a size of 00:00 To do this, I put the file in jsymphonic. Is-it the good way to import ? Where do I fail ? Thanks A+
Version 1.65
Sometimes hcedit() crashes
Hi Wilfried, Yes, now it works without problem. I have just clean the prg, and add some qout() to demonstrate that it works correctly ... I just had to invert in ON CLICK nbInstall-- and nbinstall++, as when ON CLICK is called the value of lcheck has already changed. I think you can close ... I just have to modify TuxMore to apply these modifications. Thanks A+
Hi Wilfried, Yes now it works without problem. I have just clean the prg, and add some qout to demonstrate that it works correctly ... I just had to invert in ON CLICK nbInstall-- and nbinstall++, as when ON CLICK is called the value of lcheck has already changed. I think you can close ... I just have to modify TuxMore to apply these modifications. Thanks A+
Hi Wilfried, I made a new version, but didn't test it before sending it. And there was a bug, and an incomplete demonstration of the problem. I send again a new debugged and improved version, but without removing the bad version. I thought the change was done, but it was not. Now, I send the good test with explanations. You must run it from a terminal ./Tast_tab ok ? Thanks A+
Hi Wilfried, I made a new version, bu didn't test it before sending it. And there was a bug, and an incomplete demonstration of the problem. I send again a new debugged and improved version, but without removing the bas version. I thought the change was done, but it was not. Now, I send the good test with explanations. You must run it from a terminal ./Tast_tab ok ? Thanks A+
Hi, I have not understood the content of your post Here is a very simple test. I commented Tooltips for tabs, as it doesn't build for now. Thanks A+
Hi Wilfried, Here is the concerned part of code: // local lcheck ... 128 lcheck="lAccess"+ltrim(str(nnum+1)) 129 &lcheck=tabAccess[nnum+1,3] 130 @ 10,nlig+(28*nnum) CHECKBOX &cObjet CAPTION tabAccess[rg,1] ; SIZE 150, 22 COLOR hwg_ColorC2N("0000FF"); INIT .f. TOOLTIP cObjComment ID &ID_ACCESS ; ON CLICK {|| iif(&lCheck,nbInstall--,nbInstall++),&lcheck:=!&lcheck} If I comment the local declaration, it works, just these warnings : Test_for_check.prg(128) Warning W0001 Ambiguous reference 'LCHECK' Test_for_check.prg(129)...
Hi Wilfried, He is the concerned part of code: // local lcheck ... 128 lcheck="lAccess"+ltrim(str(nnum+1)) 129 &lcheck=tabAccess[nnum+1,3] 130 @ 10,nlig+(28*nnum) CHECKBOX &cObjet CAPTION tabAccess[rg,1] ; SIZE 150, 22 COLOR hwg_ColorC2N("0000FF"); INIT .f. TOOLTIP cObjComment ID &ID_ACCESS ; ON CLICK {|| iif(&lCheck,nbInstall--,nbInstall++),&lcheck:=!&lcheck} If I comment the local declaration, it works, just these warnings : Test_for_check.prg(128) Warning W0001 Ambiguous reference 'LCHECK' Test_for_check.prg(129)...
Hi Wilfried, He is the concerned part of code: // local lcheck ... 128 lcheck="lAccess"+ltrim(str(nnum+1)) 129 &lcheck=tabAccess[nnum+1,3] 130 @ 10,nlig+(28*nnum) CHECKBOX &cObjet CAPTION tabAccess[rg,1] ; SIZE 150, 22 COLOR hwg_ColorC2N("0000FF"); INIT .f. TOOLTIP cObjComment ID &ID_ACCESS ; ON CLICK {|| iif(&lCheck,nbInstall--,nbInstall++),&lcheck:=!&lcheck} If I comment the local declaration, it works, just these warnings : Test_for_check.prg(128) Warning W0001 Ambiguous reference 'LCHECK' Test_for_check.prg(129)...
Version 1.64
Version 1.63 - local.prg automatique generation
Add initial directories
Revision 1.63 - Some bugs removed
Yes, it can be closed. Thanks A+
Hi Wilfried, Yes it works I have made a test (Test_Checkbox) which combines Test_checkbox and Test_for_check (the problem of creating checkbox in a for ... next boucle). Here is this test which can replace the previous ones. A+
Tooltip for tabs ?
Hi Wilfried, Yes it works I have made a test (Test_Checkbox) which combines Test_checkbox and Test_for_check (the problem of creating checkbox in a for ... next boucle. Here is this test which can replace the previous. A+
ok for caption, but is there a way to update tooltips of checkbox or button ? A+
Hi Wilfried, Yes this solve the crash. I just make local.prg like this, to avoid having to insert HBitmap():addstring() lines in the function: // Local objects for hex images local oObj_capson:="" local oObj_capsoff:="" local oObj_numon:="" local oObj_numoff:="" local oObj_over:="" local oObj_ins:="" oObj_capson := HBitmap():AddString( "capson" , cVal_capson ) oObj_capsoff := HBitmap():AddString( "capsoff" , cVal_capsoff ) oObj_numon := HBitmap():AddString( "numon" , cVal_numon ) oObj_numoff := HBitmap():AddString(...
Hi, For the missing declaration of cButton, it's an error, no need of cButton in isOver(): ovButton="oOver_"+cfunction // ovButton="o"+cButton+"_"+cfunction I had already install imagemagick, this nice tool. I have replaced num, caps ins and over png by bmp, and regenerated inithex.prg I have completed public declaration of o?nm_Afaire, o?caps_Afaire, oins_Afaire and oover_Afaire No more warning when building, but it always crash the second time I call RunError() Where do I always fail ? Have you...
Hi, here is the test for the bug with hex BITMAP. Thanks A+
Hi, the screenshot shows that the font is too large. Curious, because I haven't this problem. Do you test under Windows or Linux ? The test is that : * Add a program * Just enter progname, comment, info, site and version. * The content of the field isn't important. * Save * You have now a chechbox without title, and buttons without tooltip. * This is the problem. Thanks A+
Hi Wilfried, Here is a test program. You can notice that the problem occurs with checkbox caption, but also with buttons tooltip. Thanks A+
Hi Wilfried, Here is a test for my problems with checkbox creation in a for next. I think that I have found the solution. The way seems to create variables with are depending of the counter, and in checkbox, use macros. I notice that if I declare lcheck, I have an error, else, just : Compiling 'Test_for_check.prg'... Test_for_check.prg(128) Warning W0001 Ambiguous reference 'LCHECK' Test_for_check.prg(129) Warning W0001 Ambiguous reference 'LCHECK' What is your advice ? Thanks A+
Hi Wilfried, Here is a test for my problems with checkbox creation in a for next. I think that I have found the solution. The way seems to create variables with are depending of the counter, and in checkbox, use macros. What is your advice ? Thanks A+
Hi Wilfried, Here is a test program. You can notice that the problem occurs with checkbox caption, but also with buttons tooltip. Thanks A+
How to update checkbox parameters ?
Click on 'Ticket' and choose 'Bugs' or 'Support requests' A+