Re: [Gambas-user] Modify a control in another form

2012-09-22 Thread richard
On 23/09/12 08:44, richard wrote: > On 23/09/12 08:31, Keith Clark wrote: >> On 12-09-22 06:23 PM, richard wrote: >>> On 23/09/12 08:03, Keith Clark wrote: How do I modify settings of a control on another form? Let's say that I want to be able to control the number of rows and columns of

Re: [Gambas-user] Modify a control in another form

2012-09-22 Thread richard
On 23/09/12 08:31, Keith Clark wrote: > On 12-09-22 06:23 PM, richard wrote: >> On 23/09/12 08:03, Keith Clark wrote: >>> How do I modify settings of a control on another form? Let's say that I >>> want to be able to control the number of rows and columns of a grid >>> view, gvSampleGrid, on form,

Re: [Gambas-user] Modify a control in another form

2012-09-22 Thread Keith Clark
On 12-09-22 06:23 PM, richard wrote: > On 23/09/12 08:03, Keith Clark wrote: >> How do I modify settings of a control on another form? Let's say that I >> want to be able to control the number of rows and columns of a grid >> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >> >> Woul

Re: [Gambas-user] Modify a control in another form

2012-09-22 Thread richard
On 23/09/12 08:03, Keith Clark wrote: > How do I modify settings of a control on another form? Let's say that I > want to be able to control the number of rows and columns of a grid > view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. > > Would it not be fGameGrid.gvSampleGrid.rows.coun

[Gambas-user] Modify a control in another form

2012-09-22 Thread Keith Clark
How do I modify settings of a control on another form? Let's say that I want to be able to control the number of rows and columns of a grid view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. Would it not be fGameGrid.gvSampleGrid.rows.count=10? I am working with the book A beginner'

[Gambas-user] gambas3 rev #5188. Scrollview behavier

2012-09-22 Thread Karl Reinl
Salut Benoît, a HPanel should take the ClientSize of a ScrollView at Form_Resize. That worked in the past. Please play with the attached project, to see what becomes ClientWidth and ClientHeight . -- Amicalement Charlie TEST-0.0.1.tar.gz Description: application/compressed-tar

Re: [Gambas-user] run project as root

2012-09-22 Thread Jussi Lahtinen
> Mmm... No. By looking at the xdg-utils source code, I don't think that > Desktop.RunAsRoot() does anything useful. It should be removed or > rewritten differently... > RunAsRoot() method runs command as root, not the whole program, as I understand was the goal. It still have problems? What do y

Re: [Gambas-user] Faults on new Project name

2012-09-22 Thread Benoît Minisini
Le 21/09/2012 16:51, John Rose a écrit : > I've taken an existing project and done Save As with a new project name. > I've then amended this new project including setting the Project > Properties' Title & Description. I've added a new icon for the app into > the project's Data section (of the IDE)

Re: [Gambas-user] run project as root

2012-09-22 Thread Benoît Minisini
Le 22/09/2012 14:32, Benoît Minisini a écrit : > Le 22/09/2012 14:26, Jussi Lahtinen a écrit : >> Thinking this bit more... I think it would be very difficult to safely >> enable IDE to run projects as root! >> So, use virtual machine, there you can mess all you want without problems >> (as long as

Re: [Gambas-user] run project as root

2012-09-22 Thread Benoît Minisini
Le 22/09/2012 14:26, Jussi Lahtinen a écrit : > Thinking this bit more... I think it would be very difficult to safely > enable IDE to run projects as root! > So, use virtual machine, there you can mess all you want without problems > (as long as you back up sources outside of the virtual machine).

Re: [Gambas-user] run project as root

2012-09-22 Thread Jussi Lahtinen
Thinking this bit more... I think it would be very difficult to safely enable IDE to run projects as root! So, use virtual machine, there you can mess all you want without problems (as long as you back up sources outside of the virtual machine). Jussi On Sat, Sep 22, 2012 at 3:20 PM, Jussi Laht

Re: [Gambas-user] run project as root

2012-09-22 Thread Jussi Lahtinen
You mean your program is intended to run always as root? Maybe you then need new feature to IDE... or setup virtual machine and there start IDE as root. Jussi On Sat, Sep 22, 2012 at 2:13 PM, wally wrote: > Jussi, > > but this is not very convnient during development > > wally > > > > --

Re: [Gambas-user] Accept Button on form

2012-09-22 Thread Tobias Boege
On Sat, 22 Sep 2012, Johny Provoost wrote: > > Op 22-09-12 11:24, abbat schreef: > > Hello, > > > > I have: > > > > Form > > Textbox1 > > Button1 > > > > I need accept event. > > After edition of textbox1 to push button1 by Enter button on keyboard. > > > > Can I make such an e

[Gambas-user] run project as root

2012-09-22 Thread wally
Jussi, but this is not very convnient during development wally -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http:/

Re: [Gambas-user] Accept Button on form

2012-09-22 Thread Johny Provoost
Op 22-09-12 11:24, abbat schreef: > Hello, > > I have: > > Form > Textbox1 > Button1 > > I need accept event. > After edition of textbox1 to push button1 by Enter button on keyboard. > > Can I make such an event? > > Thanks In the 'Keypress' event from the textbox you can put

Re: [Gambas-user] run project as root

2012-09-22 Thread Jussi Lahtinen
I think this would require new option to IDE. But you can make your project to use graphical sudo, and ask password independently of IDE. Jussi On Sat, Sep 22, 2012 at 8:58 AM, wally wrote: > Hello, > > (how) can i run a project as root from within gambas3 IDE running as user ? > > thx wally

[Gambas-user] Accept Button on form

2012-09-22 Thread abbat
Hello, I have: Form Textbox1 Button1 I need accept event. After edition of textbox1 to push button1 by Enter button on keyboard. Can I make such an event? Thanks -- View this message in context: http://old.nabble.com/Accept-Button-on-form-tp34465687p34465687.html Sent from