This method is unreliable. I think form.show gives just some CPU time for
GUI, but not necessarily enough.
I tested your code with Xubuntu 12.04, and it didn't work.
See my reply to the original thread.
Jussi
On Sat, Apr 20, 2013 at 12:21 PM, bill-lancaster wrote:
> Simple answer!
>
> form_op
Thanks Fabien & Bruce for the ideas
--
View this message in context:
http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41734.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Precog
yes you must to enforce the form showing.
or you can us the form_show event too, maybe
2013/4/20 bill-lancaster
> Simple answer!
>
> form_open
>form.show
>run process
> end
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728
Simple answer!
form_open
form.show
run process
end
--
View this message in context:
http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41729.html
Sent from the gambas-user mailing list archive at Nabble.com.
---
Thanks for your reply. In the current application I want a web page 'viewer',
not a web page 'browser'. The display is a small seven inch touchscreen
mounted on our lounge wall used to select music and radio stations for our
home media system (also written in Gambas3 :-). The web pages to be
displ
Le 09/10/2012 09:18, PM47 a écrit :
> In order to prevent the family using the display as a browser I've
> set the 'tabBrowser.enabled' property to false.
What's the problem exactly with the normal WebView (with Enabled=True)?
--
Benoît Minisini
I've recently started using Gambas 3 and like it a lot (I've used Visual
Basic for many years). So far I've programmed a custom touchscreen Music
Jukebox front end for my home media centre that works great with albums and
internet radio stations. I want to add a simple web page viewer, not a full
Hi benoit,
simple request which would improve accessing help.
When the properties box in the IDE is open, the on-line help pops up for the
control, over which at the moment there is a popup menu go back, go forward
or reload.
Would it be possible to have these options added to the menu:
1) op
On 21/05/11 20:29, Benoît Minisini wrote:
>> On 21/05/11 20:02, Benoît Minisini wrote:
>>
My main form has a list view which allows the user to open a new form
for each of the items when they double-click on a row, but if the detail
form is already open then all I want to do is
> On 21/05/11 20:02, Benoît Minisini wrote:
> >> My main form has a list view which allows the user to open a new form
> >> for each of the items when they double-click on a row, but if the detail
> >> form is already open then all I want to do is bring it to the "top".
> >>
> >> Achieving this is
On 21/05/11 18:23, Caveat wrote:
> Hi Bruce
>
> 1.
> I'd suggest you have a startup module that you use to 'manually' open
> the forms. Keep track of the detail forms you've opened in a Collection
> or array. If you raise an event from the 'main' form when the user
> clicks on a detail line, you
On 21/05/11 20:02, Benoît Minisini wrote:
>> My main form has a list view which allows the user to open a new form
>> for each of the items when they double-click on a row, but if the detail
>> form is already open then all I want to do is bring it to the "top".
>>
>> Achieving this is being fouled
> My main form has a list view which allows the user to open a new form
> for each of the items when they double-click on a row, but if the detail
> form is already open then all I want to do is bring it to the "top".
>
> Achieving this is being fouled by:
> 1) is there a collection/list/whatever
Hi Bruce
1.
I'd suggest you have a startup module that you use to 'manually' open
the forms. Keep track of the detail forms you've opened in a Collection
or array. If you raise an event from the 'main' form when the user
clicks on a detail line, you can handle it appropriately in your
module...
My main form has a list view which allows the user to open a new form
for each of the items when they double-click on a row, but if the detail
form is already open then all I want to do is bring it to the "top".
Achieving this is being fouled by:
1) is there a collection/list/whatever of all the
this may interest you :
http://sourceforge.net/mailarchive/forum.php?thread_name=201003111358.20675.gam...@users.sourceforge.net&forum_name=gambas-user
2010/3/13 Ian Haywood :
> I have a third-party component that I want to use in a project.
>
> I have installed the .gambas file to ~/.local/lib/g
I have a third-party component that I want to use in a project.
I have installed the .gambas file to ~/.local/lib/gambas3
Running the main project with gbx3 directly finds this file and works fine,
Opening the same project in the IDE doesn't work: it can't find the control
How do I tell the IDE w
Something simple - I can do the equivalent of this this in a pgadmin window:
CREATE USER "FRED"' PASSWORD 'password' in ROLE whatever; and it keeps the
caps of FRED
I alwasy end up with lower case letters for the user name when I pass the
query to postgres
even if the logon_name here is "F
> Is it possible to have more than one command on a line using some syntax
>
> eg instead of
>
> do something
> if error then
>do_something_else
>return
> end if
>
> write this lik
>
> do something
> if error then do_somethingelse : return (or syntax works)
>
> Regards
>
> Richard
>
No, i
Is it possible to have more than one command on a line using some syntax
eg instead of
do something
if error then
do_something_else
return
end if
write this lik
do something
if error then do_somethingelse : return (or syntax works)
Regards
Richard
> If you select a file using a file dialog and get back dialog.path, is there
> any instant way to ret extract just the file name on the end of a long path
> without having to do any parsing?
>
> thanks
>
> Richard
>
File.Name(TheLongPath) ?
--
Benoît
---
If you select a file using a file dialog and get back dialog.path, is there
any instant way to ret extract just the file name on the end of a long path
without having to do any parsing?
thanks
Richard
--
This SF.net em
> Bruce schrieb:
> > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote:
> >> newString = Conv(st, "UTF-8", "ASCII")
> >>
> >> Replace(st, "½", ".5")
> >
> > Thanks RW,
> >
> > That got me started at least.
> >
> > So far:
> > TRY wx = Conv(lp1[5], "UTF-8", "ASCII")
> > TRY wx = Re
On Wednesday 04 March 2009, Rolf-Werner Eilert wrote:
> Bruce schrieb:
> > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote:
> >> newString = Conv(st, "UTF-8", "ASCII")
> >>
> >> Replace(st, "½", ".5")
> >
> > Thanks RW,
> >
> > That got me started at least.
> >
> > So far:
> > TR
Bruce schrieb:
> On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote:
>> newString = Conv(st, "UTF-8", "ASCII")
>>
>> Replace(st, "½", ".5")
>
> Thanks RW,
>
> That got me started at least.
>
> So far:
> TRY wx = Conv(lp1[5], "UTF-8", "ASCII")
> TRY wx = Replace(wx, "½", ".5")
>
Bruce schrieb:
> On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote:
>> newString = Conv(st, "UTF-8", "ASCII")
>>
>> Replace(st, "½", ".5")
>
> Thanks RW,
>
> That got me started at least.
>
> So far:
> TRY wx = Conv(lp1[5], "UTF-8", "ASCII")
> TRY wx = Replace(wx, "½", ".5")
>
On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote:
> newString = Conv(st, "UTF-8", "ASCII")
>
> Replace(st, "½", ".5")
Thanks RW,
That got me started at least.
So far:
TRY wx = Conv(lp1[5], "UTF-8", "ASCII")
TRY wx = Replace(wx, "½", ".5")
TRY wx = Replace(wx, "¼", ".25")
Bruce schrieb:
> On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote:
>
>> Strange. replace(st,"½",".5") works on my system.
>>
>> Gambas 2.11.1
>>
>> Saluti,
>>
>> Stefano
>
> Damn! And I still can't get it working. The only thing I've been able to
> decipher is that Len(st)=4 not 3. U
On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote:
> Strange. replace(st,"½",".5") works on my system.
>
> Gambas 2.11.1
>
> Saluti,
>
> Stefano
Damn! And I still can't get it working. The only thing I've been able to
decipher is that Len(st)=4 not 3. Using gambas 2.9.?? as its the la
Is your string UTF encoded? You should check if your character code is exactly
194 and not wider... 16 Bits perhaps? Any Hex-Viewer will help.
regards
Emil
On Wednesday 04 March 2009 11:55:44 Bruce wrote:
> Hi guys,
>
> I'm trying to convert a string to float. The string contents are "56½".
>
Il mercoledì 4 marzo 2009 11:55:44 Bruce ha scritto:
> Hi guys,
>
> I'm trying to convert a string to float. The string contents are "56½".
> I've tried both
>
> replace(st,"½",".5") and
> replace(st, Chr$(194), ".5 ")
>
> neither helps.
>
> Any ideas?
>
> tia
> ted
>
Strange. replace(st,"½",".5"
Hi guys,
I'm trying to convert a string to float. The string contents are "56½". I've
tried both
replace(st,"½",".5") and
replace(st, Chr$(194), ".5 ")
neither helps.
Any ideas?
tia
ted
--
Open Source Business Conf
Very simple question from a new user - please be patient !
The main form is calculating positions, time and distances.
I have a sub-form where the start position (initial data) is entered.
The main form class file has this;
PUBLIC SUB AddData_Click()
AddDataForm.Show
END
which opens the initi
IF gender = "male" THEN RadioButton1male.value=1
rgds
--
View this message in context:
http://www.nabble.com/Simple-question-how-to-select-and-activate-a-radiobutton-via-code-tp18081327p18084380.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
On Monday 23 June 2008 20:33, jbskaggs wrote:
> When I try and use radiobutton_click()
> it performs the commands in the radiobuton_click() sub but it does
> not show the radiobutton as being "depressed" or selected as if you
> had clicked on it with a mouse.
You've got it a bit backwards. You n
When I try and use radiobutton_click()
it performs the commands in the radiobuton_click() sub but it does not show
the radiobutton as being "depressed" or selected as if you had clicked on it
with a mouse.
I have also tried radiobutton.setfocus that did not do it either.
Simply put:
when the
36 matches
Mail list logo