Re: [Gambas-user] Setting path in Dialog
Benoit: Excellent! I will remember that for the next time. For now, T Lee Davidson has solved my immediate problem. But just for completeness, here's the info: [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.13.0-85-generic Architecture=x86 Distribution=Ubuntu 14.04.4 LTS Desktop=XFCE Theme=Windows Language=en_US.UTF-8 Memory=1948M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-KkFIwEuOiM DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL=/run/user/1000/keyring-6CZHEv GNOME_KEYRING_PID=1706 GPG_AGENT_INFO=/run/user/1000/keyring-6CZHEv/gpg:0:1 GTK_IM_MODULE=ibus HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US:en LOGNAME= MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SELINUX_INIT=YES SESSION=xubuntu SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1921,unix/:/tmp/.ICE-unix/1921 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-6CZHEv/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1744 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@im=ibus Thanks! Ed K. I On 04/27/2016 06:47 PM, Benoît Minisini wrote: > Le 28/04/2016 03:04, Ed & Clare Kelm a écrit : >> Benoit: >> >> Thanks for the prompt reply. My project has 8K lines of code, so I will >> make a little test project. >> >> Can you provide me a link which shows how to provide the info you need? >> >> Ed K. > Menu "?" -> "System information" in the IDE. > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
Le 28/04/2016 03:04, Ed & Clare Kelm a écrit : > Benoit: > > Thanks for the prompt reply. My project has 8K lines of code, so I will > make a little test project. > > Can you provide me a link which shows how to provide the info you need? > > Ed K. Menu "?" -> "System information" in the IDE. -- Benoît Minisini -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
T Lee: Home run! 1. The "~ shortcut" works fine when the program directly opens a file. 2. When I use your syntax in the Dialog.Path statement, everything works correctly! Many thanks for solving my problem! Ed K. On 04/27/2016 06:01 PM, T Lee Davidson wrote: > I believe the tilde does not work as a shortcut for user's home directory. > > You should probably use: Dialog.Path = User.Home &/ "Documents/ED/NEC Antenna > Files/" > > > On 04/27/2016 08:34 PM, Ed & Clare Kelm wrote: >> I have the same problem as Rolf. (2016-01-19 17:11:18) >> >> Setting dialog.path does not work. Instead, the resulting path is >> always the location of the project. >> >> My project is located in ~/Documents/Gambas Projects/EDNEC/ >> >> In the project is this code snippet: >> >> ** >> Dialog.Path = "~/Documents/ED/NEC Antenna Files/" >> Dialog.Title = "Select an Antenna File to Open" >> Dialog.Filter = ["*.txt; *.TXT", "Text Files", "*.NEC", "NEC Input Files"] >> >> Print Dialog.Path >> >> If Dialog.OpenFile() Then Return >> ** >> >> When it executes, the correct path is printed to the IDE, the correct >> title appears on the Open dialog, and the correct filter appears in the >> Open dialog. However, the path in the Open dialog is ~/Documents/Gambas >> Projects/EDNEC/. >> >> I am using: >> >> Gambas 3.8.4 >> Xubuntu 14.04 >> >> Any help for this? >> >> Thanks! >> >> Ed K. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
Benoit: Thanks for the prompt reply. My project has 8K lines of code, so I will make a little test project. Can you provide me a link which shows how to provide the info you need? Ed K. On 04/27/2016 05:45 PM, Benoît Minisini wrote: > Le 28/04/2016 02:34, Ed & Clare Kelm a écrit : >> I have the same problem as Rolf. (2016-01-19 17:11:18) >> >> Setting dialog.path does not work. Instead, the resulting path is >> always the location of the project. >> >> My project is located in ~/Documents/Gambas Projects/EDNEC/ >> >> In the project is this code snippet: >> >> ** >> Dialog.Path = "~/Documents/ED/NEC Antenna Files/" >> Dialog.Title = "Select an Antenna File to Open" >> Dialog.Filter = ["*.txt; *.TXT", "Text Files", "*.NEC", "NEC Input Files"] >> >> Print Dialog.Path >> >> If Dialog.OpenFile() Then Return >> ** >> >> When it executes, the correct path is printed to the IDE, the correct >> title appears on the Open dialog, and the correct filter appears in the >> Open dialog. However, the path in the Open dialog is ~/Documents/Gambas >> Projects/EDNEC/. >> >> I am using: >> >> Gambas 3.8.4 >> Xubuntu 14.04 >> >> Any help for this? >> >> Thanks! >> >> Ed K. > As usual, please provide a full project that reproduces the bug, and > your full system information. > > Because Dialog.OpenFile() can actually choose between five different > dialogs, and one with four different toolkits. > > Regards, > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
I believe the tilde does not work as a shortcut for user's home directory. You should probably use: Dialog.Path = User.Home &/ "Documents/ED/NEC Antenna Files/" On 04/27/2016 08:34 PM, Ed & Clare Kelm wrote: > I have the same problem as Rolf. (2016-01-19 17:11:18) > > Setting dialog.path does not work. Instead, the resulting path is > always the location of the project. > > My project is located in ~/Documents/Gambas Projects/EDNEC/ > > In the project is this code snippet: > > ** > Dialog.Path = "~/Documents/ED/NEC Antenna Files/" > Dialog.Title = "Select an Antenna File to Open" > Dialog.Filter = ["*.txt; *.TXT", "Text Files", "*.NEC", "NEC Input Files"] > > Print Dialog.Path > > If Dialog.OpenFile() Then Return > ** > > When it executes, the correct path is printed to the IDE, the correct > title appears on the Open dialog, and the correct filter appears in the > Open dialog. However, the path in the Open dialog is ~/Documents/Gambas > Projects/EDNEC/. > > I am using: > > Gambas 3.8.4 > Xubuntu 14.04 > > Any help for this? > > Thanks! > > Ed K. -- Lee __ "Artificial Intelligence is no match for natural stupidity." -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
Le 28/04/2016 02:34, Ed & Clare Kelm a écrit : > I have the same problem as Rolf. (2016-01-19 17:11:18) > > Setting dialog.path does not work. Instead, the resulting path is > always the location of the project. > > My project is located in ~/Documents/Gambas Projects/EDNEC/ > > In the project is this code snippet: > > ** > Dialog.Path = "~/Documents/ED/NEC Antenna Files/" > Dialog.Title = "Select an Antenna File to Open" > Dialog.Filter = ["*.txt; *.TXT", "Text Files", "*.NEC", "NEC Input Files"] > > Print Dialog.Path > > If Dialog.OpenFile() Then Return > ** > > When it executes, the correct path is printed to the IDE, the correct > title appears on the Open dialog, and the correct filter appears in the > Open dialog. However, the path in the Open dialog is ~/Documents/Gambas > Projects/EDNEC/. > > I am using: > > Gambas 3.8.4 > Xubuntu 14.04 > > Any help for this? > > Thanks! > > Ed K. As usual, please provide a full project that reproduces the bug, and your full system information. Because Dialog.OpenFile() can actually choose between five different dialogs, and one with four different toolkits. Regards, -- Benoît Minisini -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error messages from library?
Le 27/04/2016 23:04, Jussi Lahtinen a écrit : > I found the culprit in this case. Thanks to all for the suggestions! > But I really hope there would be way to debug these bit easier, than > placing message boxes to the library code... > > Benoit, > would it be possible to run library parallel from other instance of the > IDE? Or at least get the debug information from the lib, like in crash > with normal executables? > > > Jussi > If your library is compiled with debugging information, you get the full stack backtrace in the IDE when the error occurs. It's just that the IDE can just deal with one project only, the main one. When the IDE run a project that uses a library, it cannot know at the moment where are the source code of the library. If I find a solution, I will tell! -- Benoît Minisini -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting path in Dialog
I have the same problem as Rolf. (2016-01-19 17:11:18) Setting dialog.path does not work. Instead, the resulting path is always the location of the project. My project is located in ~/Documents/Gambas Projects/EDNEC/ In the project is this code snippet: ** Dialog.Path = "~/Documents/ED/NEC Antenna Files/" Dialog.Title = "Select an Antenna File to Open" Dialog.Filter = ["*.txt; *.TXT", "Text Files", "*.NEC", "NEC Input Files"] Print Dialog.Path If Dialog.OpenFile() Then Return ** When it executes, the correct path is printed to the IDE, the correct title appears on the Open dialog, and the correct filter appears in the Open dialog. However, the path in the Open dialog is ~/Documents/Gambas Projects/EDNEC/. I am using: Gambas 3.8.4 Xubuntu 14.04 Any help for this? Thanks! Ed K. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error messages from library?
I found the culprit in this case. Thanks to all for the suggestions! But I really hope there would be way to debug these bit easier, than placing message boxes to the library code... Benoit, would it be possible to run library parallel from other instance of the IDE? Or at least get the debug information from the lib, like in crash with normal executables? Jussi On Wed, Apr 27, 2016 at 10:15 AM, adamn...@gmail.comwrote: > On Wed, 27 Apr 2016 01:07:20 +0300 > Jussi Lahtinen wrote: > > > Hi! > > I have two projects using same library (made with Gambas). > > When same functions are used in project 1, everything is OK, but from > > project 2 I got "Out of bounds". How can I see what happens in the > library? > > > > > > Jussi > > Hiya Jussi, > > The way we do this here is that each library has a non-exported "test" > module. I take it that you know the exact call structure and data from both > project 1 and project 2 when the dreaded OOB occurs. It's a PITA but we > simply add a test to the said module mimicking the exact calls and step > through the library in the IDE debugger. > > Most times the only result is that we find a new exception condition that > we hadn't considered in the library code :-( > but then after adding traps for that . it begins to get clearer what > the problem is. :-( > > That (those) damn OOB error(s) in libraries are now probably the most time > consuming bugs we get and are usually something in the mainline &^#@!(^ > data that we hadn't considered "possible (in a sane universe)". > > Not a great deal of help but I feel your pain. Back in Gambas 2 it was > possible to debug libraries on the fly by creating links to the source > classes in the client project. But that was AFAIK an undiscovered feature > that went away at GB3. Such is life. > > regards > bruce > > -- > B Bruen > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #930: Component not found: gb.sdl2.audio and puppy Linux
http://gambaswiki.org/bugtracker/edit?object=BUG.930=L21haW4- Víctor PEREZ reported a new bug. Summary --- Component not found: gb.sdl2.audio and puppy Linux Type : Bug Priority : Medium Gambas version : 3.8 Product : Unknown Description --- installed with prawns https://gambas.guru/tiki-list_file_gallery.php?galleryId=10 ---> https://gambas.guru/dl116 (gambas3-3.8.4.sfs) puppy linux slacko-5.7-NO-pae.iso error: Component not found: gb.sdl2.audio System information -- http://novatocodegambas.blogspot.com.uy/ https://sourceforge.net/projects/visorrv1960/ https://sourceforge.net/projects/taller2015/ https://sourceforge.net/projects/asistentetm/ https://sourceforge.net/projects/tanteadortenisdemesa/ -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] String[] in Sub, what is going wrong
I ran the code and I was able to populate fntexc with the array, but I didn't see how you declared fntexc so I am unsure what the difference is between our implementations. For testing sake, I merely made fntexc a public variable . If you were to provide more of the code, it would be a lot easier to get a complete picture. How are you declaring fntexc? If it is a locally scoped variable you will need to either pass a reference to the sub or turn the sub into a function to return data to fntexc. On Apr 27, 2016 9:04 AM, "Rolf-Werner Eilert"wrote: > This is the code: > > Public Sub setFontNameList(fontliste As String[]) > Dim i As Integer > >fntexc.Clear > >For i = 0 To fontliste.count - 1 > fntexc.Add(fontliste[i]) >Next > > End > > It didn't run, so I set a Wait to the line fntexc.Clear. "fontliste[]" > is delivered as it should, it has 3 items. But fontliste.Count is 0, > fontliste.Max would be -1. So it is never copied. > > What is going wrong here??? > > Regards > Rolf > > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] String[] in Sub, what is going wrong
Hello Rolf-Werner, apart from the other ... Am 27.04.2016 um 18:02 schrieb Rolf-Werner Eilert: >For i = 0 To fontliste.count - 1 > fntexc.Add(fontliste[i]) >Next Easier would be: fntexc.Insert(fontliste) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] String[] in Sub, what is going wrong
On 04/27/2016 12:02 PM, Rolf-Werner Eilert wrote: > This is the code: > > Public Sub setFontNameList(fontliste As String[]) > Dim i As Integer > > fntexc.Clear > > For i = 0 To fontliste.count - 1 > fntexc.Add(fontliste[i]) > Next > > End > > It didn't run, so I set a Wait to the line fntexc.Clear. "fontliste[]" > is delivered as it should, it has 3 items. But fontliste.Count is 0, > fontliste.Max would be -1. So it is never copied. > > What is going wrong here??? > > Regards > Rolf > I have to assume that "fntexc" is a 'global' since it is not declared in the Sub. This code... ' Gambas module file Public fntexc As String[] Public Sub Main() Dim sFont As String fntexc = [] setFontNameList(["courier", "helvetica", "arial"]) For Each sFont In fntexc Print sFont Next End Public Sub setFontNameList(fontliste As String[]) Dim i As Integer Debug fontliste.Count fntexc.Clear For i = 0 To fontliste.count - 1 fntexc.Add(fontliste[i]) Next End ...works, and outputs: MMain.setFontNameList.19: 3 courier helvetica arial Hope that helps, -- Lee __ "Artificial Intelligence is no match for natural stupidity." -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] String[] in Sub, what is going wrong
This is the code: Public Sub setFontNameList(fontliste As String[]) Dim i As Integer fntexc.Clear For i = 0 To fontliste.count - 1 fntexc.Add(fontliste[i]) Next End It didn't run, so I set a Wait to the line fntexc.Clear. "fontliste[]" is delivered as it should, it has 3 items. But fontliste.Count is 0, fontliste.Max would be -1. So it is never copied. What is going wrong here??? Regards Rolf -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] FontChooser setting fontname
Am 27.04.2016 10:12, schrieb adamn...@gmail.com: > On Wed, 27 Apr 2016 09:44:55 +0200 > Rolf-Werner Eilertwrote: > >> Does really nobody know why I cannot set the SelectedFont value as >> mentioned in the documentation? >> >> Rolf >> >> Am 26.04.2016 12:57, schrieb Rolf-Werner Eilert: >>> "Courrier" is French, in my list there is "Courier". I can choose it >>> from the list, but I cannot set the list to this value/index/string. >>> >>> Rolf >>> >>> Am 26.04.2016 12:39, schrieb Fabien Bodard: Courrier Le 26 avr. 2016 12:12, "Rolf-Werner Eilert" a écrit : > The docu reads: > > FontChooser.SelectedFont (gb.form) > > Property SelectedFont As String > > Returns or sets the selected font as a string. > > When I try to do > > Dim MyFont As String > > MyFont = "Courier" > fcMyFont.SelectedFont = MyFont > > nothing happens. > > Am I expecting too much? > > Rolf > > hmm > ' Gambas class file > > Public Sub _new() > >FontChooser1.SelectedFont = "Courier" >Print FontChooser1.SelectedFont > > End > seems to work ok here? > > Ahh ok, this makes sense. It does run like this, but the dropdown list still doesn't reflect it. But I found the reason. I only needed the dropdown list visible, so I decreased the control to 29 px. This way, however, the preview area isn't visible, and the control seems to need the preview area to refresh the dropdown list. So my solution was FontChooser1.Height = 110 FontChooser1.SelectedFont = "Courier" FontChooser1.Height = 29 This way it runs like expected... :) Regards Rolf -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #918: Debian package does not build if it relies on library
http://gambaswiki.org/bugtracker/edit?object=BUG.918=L21haW4- Comment #2 by C THAL: I cannot provide my proj, sorry. But I made a testproject which imports a lib and results to the same error. If you try to package it the debian way, it breaks and will not build the .deb-file. If you unpack the result of the packaging-attempt: BUG.918.tar.gz/utar://DebianPackage/deganius-testproj-qt4_0.0.1-1.tar.gz You find in deganius-testproj-qt4-0.0.1/debian/control this string: "Depends: deganius-testproj (>= 0.0.1 ), deganius-testproj (<= 0.0.1), gambas3-gb-qt4 (>= 3.8), gambas3-gb-qt4 (<< 3.99.0), gambas3-:deganius/deg-testlib:1-0 (>= 3.8), gambas3-:deganius/deg-testlib:1-0 (<< 3.99.0)" This ist wrong: gambas3-:deganius/deg-testlib:1-0 Because, as you see, from the created .deb of the lib, the right name of the debian package of the testlib is: "deganius-deg-testlib". -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #918: Debian package does not build if it relies on library
http://gambaswiki.org/bugtracker/edit?object=BUG.918=L21haW4- C THAL added an attachment: BUG918.tar.gz -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] FontChooser setting fontname
On Wed, 27 Apr 2016 09:44:55 +0200 Rolf-Werner Eilertwrote: > Does really nobody know why I cannot set the SelectedFont value as > mentioned in the documentation? > > Rolf > > Am 26.04.2016 12:57, schrieb Rolf-Werner Eilert: > > "Courrier" is French, in my list there is "Courier". I can choose it > > from the list, but I cannot set the list to this value/index/string. > > > > Rolf > > > > Am 26.04.2016 12:39, schrieb Fabien Bodard: > >> Courrier > >> Le 26 avr. 2016 12:12, "Rolf-Werner Eilert" a > >> écrit : > >> > >>> The docu reads: > >>> > >>> FontChooser.SelectedFont (gb.form) > >>> > >>> Property SelectedFont As String > >>> > >>> Returns or sets the selected font as a string. > >>> > >>> When I try to do > >>> > >>> Dim MyFont As String > >>> > >>> MyFont = "Courier" > >>> fcMyFont.SelectedFont = MyFont > >>> > >>> nothing happens. > >>> > >>> Am I expecting too much? > >>> > >>> Rolf > >>> hmm ' Gambas class file Public Sub _new() FontChooser1.SelectedFont = "Courier" Print FontChooser1.SelectedFont End seems to work ok here? -- B Bruen -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4- Comment #6 by Alexander KUIPER: Thanks, i can confirm it is fixed on x86_64 and on armf (Raspberry Pi). I tested this morning again, but I don't have memory leaks in my application ... But saying that, i explicitily set some objects to null - this seems to do the trick for me. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] FontChooser setting fontname
Does really nobody know why I cannot set the SelectedFont value as mentioned in the documentation? Rolf Am 26.04.2016 12:57, schrieb Rolf-Werner Eilert: > "Courrier" is French, in my list there is "Courier". I can choose it > from the list, but I cannot set the list to this value/index/string. > > Rolf > > Am 26.04.2016 12:39, schrieb Fabien Bodard: >> Courrier >> Le 26 avr. 2016 12:12, "Rolf-Werner Eilert"a >> écrit : >> >>> The docu reads: >>> >>> FontChooser.SelectedFont (gb.form) >>> >>> Property SelectedFont As String >>> >>> Returns or sets the selected font as a string. >>> >>> When I try to do >>> >>> Dim MyFont As String >>> >>> MyFont = "Courier" >>> fcMyFont.SelectedFont = MyFont >>> >>> nothing happens. >>> >>> Am I expecting too much? >>> >>> Rolf >>> >>> >>> >>> -- >>> Find and fix application performance issues faster with Applications >>> Manager >>> Applications Manager provides deep performance insights into multiple >>> tiers of >>> your business applications. It resolves application problems quickly and >>> reduces your MTTR. Get your free trial! >>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >>> ___ >>> Gambas-user mailing list >>> Gambas-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> -- >> Find and fix application performance issues faster with Applications Manager >> Applications Manager provides deep performance insights into multiple tiers >> of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error messages from library?
On Wed, 27 Apr 2016 01:07:20 +0300 Jussi Lahtinenwrote: > Hi! > I have two projects using same library (made with Gambas). > When same functions are used in project 1, everything is OK, but from > project 2 I got "Out of bounds". How can I see what happens in the library? > > > Jussi Hiya Jussi, The way we do this here is that each library has a non-exported "test" module. I take it that you know the exact call structure and data from both project 1 and project 2 when the dreaded OOB occurs. It's a PITA but we simply add a test to the said module mimicking the exact calls and step through the library in the IDE debugger. Most times the only result is that we find a new exception condition that we hadn't considered in the library code :-( but then after adding traps for that . it begins to get clearer what the problem is. :-( That (those) damn OOB error(s) in libraries are now probably the most time consuming bugs we get and are usually something in the mainline &^#@!(^ data that we hadn't considered "possible (in a sane universe)". Not a great deal of help but I feel your pain. Back in Gambas 2 it was possible to debug libraries on the fly by creating links to the source classes in the client project. But that was AFAIK an undiscovered feature that went away at GB3. Such is life. regards bruce -- B Bruen -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error messages from library?
Am 27.04.2016 um 00:40 schrieb Jussi Lahtinen: > Not that simple. The library has embedded data etc, and to avoid conflicts > I would need to modify the code. Hm... can you pack that data in a separated lib? I did so with some of my libs which grew too much. One big lib became 4 smaller ones. Thats also better to prevent spaghetti code (but not dependency hell ;-)). > Also generally speaking I hope there is easier way to do this. Seems not, because libs are executables. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user