Hi in wiki says
Control.Cursor (gb.qt)
PROPERTY Cursor AS Cursor
Use this property for assigning a custom cursor to a control.
how did i do that?
i tried
ME.Cursor = Picture[egore911_Pointer2.png]
ME.Cursor = 2 'for cross cursor
but in wiki i see the Cursor has only X,Y properties.
What is
Hi,
In Gambas2 2.22 rev3344 i tried the icon property but it does not work.
If i set a picture in design mode or in run time with
ME.Icon = Picture[icon.png]
the icon is not shown up on the form.
i checked also and my older projects which have an icon on the form and
to them also the icon
The problem appears in run time.
--
Regards,
Demosthenes Koptsis.
---BeginMessage---
Hi,
In Gambas2 2.22 rev3344 i tried the icon property but it does not work.
If i set a picture in design mode or in run time with
ME.Icon = Picture[icon.png]
the icon is not shown up on the form.
i
Hi,
having the need to avoid the user closes the form before filling all
fields, I try to intercept the click on the Close Button on Form Title
with the following sub:
Public Sub Form_Close()
If (Not $bLang) Then Stop Event
End
under GTK the Form_Close event isn't stopped.
Gambas3 rev 3355
hCursor = NEW Cursor ( Picture AS Picture [ , X AS Integer, Y AS Integer ] )
http://gambasdoc.org/help/comp/gb.qt4/cursor/_new?env3
2010/12/11 Demosthenes Koptsis demosthen...@gmail.com:
Hi in wiki says
Control.Cursor (gb.qt)
PROPERTY Cursor AS Cursor
Use this property for assigning a
PROPERTY Tag AS Variant
Returns or sets the control tag.
This property is intended for the programmer and is never used by the
component. It can contain any Variant value.
ok but what is the use of this property?
--
Regards,
Demosthenes
what distrib ? ... if it's ubuntu gnome ... make sure that is not a
problem with the theme.
Some theme hide icon menu and/or window icon
2010/12/11 Demosthenes Koptsis demosthen...@gmail.com:
The problem appears in run time.
--
Regards,
Demosthenes Koptsis.
-- Message
thanks !!!
On Sat, 2010-12-11 at 15:34 +0100, Fabien Bodard wrote:
hCursor = NEW Cursor ( Picture AS Picture [ , X AS Integer, Y AS Integer ] )
http://gambasdoc.org/help/comp/gb.qt4/cursor/_new?env3
2010/12/11 Demosthenes Koptsis demosthen...@gmail.com:
Hi in wiki says
yes it is in ubuntu 10.04, i will check if it is the theme
On Sat, 2010-12-11 at 15:36 +0100, Fabien Bodard wrote:
what distrib ? ... if it's ubuntu gnome ... make sure that is not a
problem with the theme.
Some theme hide icon menu and/or window icon
2010/12/11 Demosthenes Koptsis
Hi,
How to save the layout of VSplit?
I tried:
SUB Form_Open()
vsplit1.settings = Settings[Group/Key];
PRINT Settings[Group/Key] ' (1)
PRINT vsplit1.settings ' (2)
END
Of course
SUB Form_Close()
Settings[Group/Key] = vsplit1.settings
END
In running, (1) and (2) are different, all numbers in
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 on to my question...
I have a Form and I want to have two separate groups of RadioButtons.
In each group
many things ... you can embed in it any data you need withe the
object... it is a variant so it can be string, numbers, objects.
ex :
For i = 0 to 10
hButton = New Button(ME) as Button
hButton.Text = Button i
hButton.Tag = i
NEXT
END
PUBLIC SUB Button_Click()
Select Case LAST.Tag
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 on
I tried a frame in an existing program I had been working on, I just needed
to redo the buttons within the frame.
Very many thanks Ed.
Nick
On Sat, Dec 11, 2010 at 1:09 PM, Ed Clare Kelm
twopil...@interisland.netwrote:
Nicolas:
Put each group of buttons, (or at least one group), in a
Not sure what you mean by $bLang. In my Close button I set the
Form.Tag to any value and then test for this in the form_close event. If
the user closes from the Form Header the tag is not set and I can use a
message box to confirm the closure. The Stop Event works ok. I am using
Ubuntu 10.10
If you want a practical example. I have a data form with Edit, Add and
Save buttons. When I click Edit or Add I set the tag property of the
form; it can be anything add edit or 1 and 2. When the Save
button is clicked I then know which action to take. It's use is purely
at the developer's
Hi,
having the need to avoid the user closes the form before filling all
fields, I try to intercept the click on the Close Button on Form Title
with the following sub:
Public Sub Form_Close()
If (Not $bLang) Then Stop Event
End
under GTK the Form_Close event isn't stopped.
Gambas3
Hi,
How to save the layout of VSplit?
I tried:
SUB Form_Open()
vsplit1.settings = Settings[Group/Key];
PRINT Settings[Group/Key] ' (1)
PRINT vsplit1.settings ' (2)
END
Of course
SUB Form_Close()
Settings[Group/Key] = vsplit1.settings
END
In running, (1) and (2) are
i made an example for StrPtr, it is the next one,
' Gambas module file
PUBLIC SUB Main()
DIM p AS Pointer
DIM s AS String
p = Alloc(this is a string)
'READ #p, s
s = StrPtr(p)
PRINT s
Free(p)
END
I just want to question what is the difference between
'READ #p, s
s =
19 matches
Mail list logo