Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
> Yes, a progress bar or even just a label showing which operation is > current. > hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As > "Process" > > with > > Public Sub Process_Read() > Dim sData As String > Read #Last, sData, -255 >Label1.caption = sData > End > >

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Christof Thalhofer
Am 22.03.2017 um 18:01 schrieb bill-lancaster: > I have a series of EXEC command line jobs. The whole lot takes some time and > it would be nice to have some indication of progress. > Because there's a series of EXECs, I'm using the 'Wait' function. In this > case it seems that 'Process_Read'

Re: [Gambas-user] Traversing a TreeView (was: Automatically scroll to end of treeview?)

2017-03-22 Thread Gianluigi
Dear Tobias, you were born teacher.  Thank you very much for the example and explanations. Regards Gianluigi 2017-03-22 19:38 GMT+01:00 Tobias Boege : > On Wed, 22 Mar 2017, Gianluigi wrote: > > Hello Tobias, > > unfortunately I was not able to do better than Wally, > > I

Re: [Gambas-user] EXEC progress

2017-03-22 Thread bill-lancaster
Yes, a progress bar or even just a label showing which operation is current. hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As "Process" with Public Sub Process_Read() Dim sData As String Read #Last, sData, -255 Label1.caption = sData End doesn't show anything This

[Gambas-user] [Gambas Bug Tracker] Bug #1092: Broken likns on FAQ page

2017-03-22 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1092=L21haW4- Stéphane AULERY reported a new bug. Summary --- Broken likns on FAQ page Type : Bug Priority : Low Gambas version : Unknown Product : Unknown Description --- The links of all

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
Process_Read simply reads output of the executed program. Is something lost, which is expected to show up? Jussi On Wed, Mar 22, 2017 at 7:01 PM, bill-lancaster wrote: > I have a series of EXEC command line jobs. The whole lot takes some time > and > it would be

Re: [Gambas-user] Traversing a TreeView (was: Automatically scroll to end of treeview?)

2017-03-22 Thread Tobias Boege
On Wed, 22 Mar 2017, Gianluigi wrote: > Hello Tobias, > unfortunately I was not able to do better than Wally, > I tried but I did not move from here :-( > See attached > I'm afraid did not understand the original question. > An implementation of what I was talking about is attached. Regards,

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Matti
I don't know exactly what you want. My idea would be to show a StatusBar saying which EXEC command is called. And a ProgressBar after each EXEC command with an estimated value of progress. Or am I completely wrong? Am 22.03.2017 um 18:01 schrieb bill-lancaster: > I have a series of EXEC command

[Gambas-user] EXEC progress

2017-03-22 Thread bill-lancaster
I have a series of EXEC command line jobs. The whole lot takes some time and it would be nice to have some indication of progress. Because there's a series of EXECs, I'm using the 'Wait' function. In this case it seems that 'Process_Read' doesn't report what's happening. Any advice would be

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Gianluigi
Hello Tobias, unfortunately I was not able to do better than Wally, I tried but I did not move from here :-( See attached I'm afraid did not understand the original question. Regards Gianluigi 2017-03-22 14:30 GMT+01:00 Tobias Boege : > On Wed, 22 Mar 2017, Gianluigi wrote: >

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Tobias Boege
On Wed, 22 Mar 2017, Gianluigi wrote: > Maybe this topic could help [0] > > Regards > Gianluigi > > [0] > http://gambas.8142.n7.nabble.com/Accessing-the-Treeview-Collection-td20313.html#a20317 > This looks to me like they were trying to list all keys used by a TreeView. That task can be

Re: [Gambas-user] collection of collection problem

2017-03-22 Thread Gianluigi
I do not understand why you can not use arrays of arrays ( e.g. myCollection[][]) Regards Gianluigi 2017-03-22 11:26 GMT+01:00 PICCORO McKAY Lenz : > yeap.. maybe u said "oh, please crear a class map for your data", or > whatever.. > > but when u work with a big

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Gianluigi
Maybe this topic could help [0] Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Accessing-the-Treeview-Collection-td20313.html#a20317 2017-03-22 11:27 GMT+01:00 Riccardo : > Thank very much Tobias, for the valuable advice. > > Because I know what I'm adding it simply

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Riccardo
Thank very much Tobias, for the valuable advice. Because I know what I'm adding it simply worked to apply your recommended approach immediately after adding the new node without the loop or the condition: trvLog.Add(trvLog.Count, logtext) trvLog.Item.EnsureVisible And also the caveat

Re: [Gambas-user] collection of collection problem

2017-03-22 Thread PICCORO McKAY Lenz
yeap.. maybe u said "oh, please crear a class map for your data", or whatever.. but when u work with a big organization and want to migrate linux.. have some "guindowsers" uses, and i must use a step by step and clear "similar" desing .. so in this way other also can follow the develop process..

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Tobias Boege
On Wed, 22 Mar 2017, Riccardo wrote: > How do I automatically scroll to the end of a TreeView when a new node is > added? > > I've tried /trvLog.MoveLast/ but that doesn't work? > TreeView.MoveLast() only sets the internal cursor to the last element. The documentation is very unclear here.

[Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Riccardo
How do I automatically scroll to the end of a TreeView when a new node is added? I've tried /trvLog.MoveLast/ but that doesn't work? Also, can I make the Drag.Move setting apply to a node (record) in a TreeView. That is, if I drag a record in a TreeView to another location within the same

Re: [Gambas-user] collection of collection problem

2017-03-22 Thread Fabien Bodard
Why did you want to use collections ?... as it slow down all the stuff ? can you be more precise in your need so i can help you 2017-03-21 23:06 GMT+01:00 PICCORO McKAY Lenz : > 2017-03-21 11:24 GMT-04:00 Charlie : >> Can you simplify the code so we can

Re: [Gambas-user] Show records on a WebTable

2017-03-22 Thread Fabien Bodard
Herberth : Private $rs as Result Private $Fields as New String[] 'or somewhere else Public sub _New() dim f as ResultField dim i as integer M_DB.Connect() 'DB is the last connected db $rs = DB.Exec("SELECT Title FROM tbapps where tbapps.Title like '%'") If rs.Available Then ' Setup