Re: [Gambas-user] Setting path in Dialog

2016-04-27 Thread Ed & Clare Kelm
=/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

Re: [Gambas-user] Setting path in Dialog

2016-04-27 Thread Ed & Clare Kelm
he 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. (

Re: [Gambas-user] Setting path in Dialog

2016-04-27 Thread Ed & Clare Kelm
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 : &g

Re: [Gambas-user] Setting path in Dialog

2016-04-27 Thread Ed & Clare Kelm
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/

Re: [Gambas-user] two separate groups of RadioButton same Form

2010-12-11 Thread Ed & Clare Kelm
Nicolas: Put each group of buttons, (or at least one group), in a frame. Ed K. Nicolas Koch wrote: > So I had taken a year hiatus away from the GAMBAS community due to the > military and am finally back home coding again. :D I gotta tell you I > really miss and love coding in GAMBAS. anyways o

Re: [Gambas-user] EOF problem

2010-04-19 Thread Ed & Clare Kelm
, to see if the problem can be cured that way. Regards, Ed K. Doriano Blengino wrote: > Ed & Clare Kelm ha scritto: > I was feeling that my words could be seemed not appropriate. In fact, I > added that "our friends know what they are doing", and labeled those > th

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
ry, One hand washes the other and both wash the face > :) > > Hope this helps > Regards, > Dimitris > > On Mon, Apr 19, 2010 at 1:17 AM, Ed & Clare Kelm > wrote: > > >> Hi all: >> >> A couple of comments about the discussions below: >> &

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
Hi all: A couple of comments about the discussions below: 1. The test program was written with EOF at the start, because the actual program I am working on has this structure, for reading in multiple lines of text: WHILE NOT EOF(tfile) (bunch of code for reading the lines in and putting t

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
s Hardy > > PUBLIC SUB Button1_Click() > > DIM tfile AS File > DIM Fname AS String > DIM t, txt AS String > > Label1.text = "" > Fname = "/home/les/Documents/testdat.txt" > tfile = OPEN Fname FOR READ > > IF NOT Eof(tfile) THEN >

Re: [Gambas-user] EOF problem

2010-04-17 Thread Ed & Clare Kelm
Thanks for the quick reply! 1. The problem is independent of the contents of the text file. 2. I tried a more complicated test program in which there are TWO buttons, and TWO different text files. This behaves similarly; most of the time, failure of one button/file will be accompanied by

[Gambas-user] EOF problem

2010-04-17 Thread Ed & Clare Kelm
Hi! I'm having a problem reliably reading a text file. I am using: Panasonic CF-51 Toughbook Ubuntu 9.04 , Kernel 2.6.28-18 Gambas 2.8, QT Below is the code for a test program which demonstrates the problem. This is a simple form, with one button, and one label. The only code is the Button1_