Public Function GetDestinos() As String[]
Dim RelenosCombox As New String[]
hresul = hconn.Find("tb_destino")
for each hResul
RelenosCombox.Add(hresul["destino_id"] & "|" &
hresul["destino_descripcion"])
next
Return RelenosCombox
End
2) in form class
Public Sub ComboBo
Thanks for the explanation. Just for this reason I wrote "possible bug"
instead "bug". Definitely what a disillusioning floating points!
It will be great if gambas could work natively with decimal numbers. Until
this time I'll still working with long * 10^decimal digits.
Regards,
Ricardo
2014-0
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> >> do the following: create a String[] aResult or something. Then use the
> >> hresult["whatever_id"], converted to an Integer, as index:
> >>
> >> aResult.Add(hresult["payload"], CInt(hresult["whatever_id"]))
> >>
> > umm this mees might work like
>> do the following: create a String[] aResult or something. Then use the
>> hresult["whatever_id"], converted to an Integer, as index:
>>
>> aResult.Add(hresult["payload"], CInt(hresult["whatever_id"]))
>>
> umm this mees might work like the collection idea also
dont work!!! combobox auto enumra
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
From: Beno?t Minisini
> A 'MinDate' property could be a good idea...
> And a 'MaxDate' too, why not?
HEY BENOIT, NEVERMIND! FORGET IT AND MAKE THE EXAMPLES OF GB.WEB PLEASE!!!
(i still remenber that mail ok)
> From: Tobias Boege
>> do
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> errr about collection another question.. documentation are not cleary
> how to use..
>
> its creatable ?
>
> http://gambasdoc.org/help/lang/collection?cs&v3
>
> dim pep as new collection?
>
> in that link does not show how to instanciate/create/m
errr about collection another question.. documentation are not cleary
how to use..
its creatable ?
http://gambasdoc.org/help/lang/collection?cs&v3
dim pep as new collection?
in that link does not show how to instanciate/create/make a var of type
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> > However, if you want to use
> > strings as indices, you better forget about String[] (which only accepts
> > integer indices) and use Collection.
>
> does gambas provide collections in same way of java does?
>
No, in Gambas, a Collection is a ha
Le 31/01/2014 17:52, PICCORO McKAY Lenz a écrit :
> There's some way to select specific date and limits choose to this day in
> the datechoose calendar component?
>
> i mean... limits the dais to choose to only future dais!
>
> Lenz McKAY Gerardo (PICCORO)
A 'MinDate' property could be a good id
> However, if you want to use
> strings as indices, you better forget about String[] (which only accepts
> integer indices) and use Collection.
does gambas provide collections in same way of java does?
> However, if you want to fill a ComboBox, you cannot pass a string as the
> second argument to
> From: Tobias Boege
> You have to do that yourself (let dtcDate be your DateChooser):
¬_¬u
> Public Sub dtcDate_Change()
> dtcDate.Value = Max(Now(), dtcDate.Value)
> End
> Alas, the DateChooser does not support Stop Event in the Change event, so
> I always reset the dtcDate.Value to Now() whe
Le 31/01/2014 19:25, Tobias Boege a écrit :
> On Fri, 31 Jan 2014, abbat81 wrote:
>> How to make an event for Key Press Escape button to close a form
>> Thanks
>>
>
> Do you mean:
>
> Public Sub Form_KeyPress()
>If Key.Code = Key.Esc Then Me.Close()
> End
>
> This has nothing to do with a Butto
On Fri, 31 Jan 2014, abbat81 wrote:
> How to make an event for Key Press Escape button to close a form
> Thanks
>
Do you mean:
Public Sub Form_KeyPress()
If Key.Code = Key.Esc Then Me.Close()
End
This has nothing to do with a Button you were mentioning in the question but
honestly, I don't se
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> i wish to make a date diff
>
> but my upper date must be the "now" + 3 days in future, how to make this
> addition to the Day(now) value if are in ending (just like 31) due 31 + 3
> are 34!!!
>
Mind looking at the documentation?
DateAdd(Now(),
How to make an event for Key Press Escape button to close a form
Thanks
--
View this message in context:
http://gambas.8142.n7.nabble.com/KeyPress-Escape-to-close-a-form-tp45464.html
Sent from the gambas-user mailing list archive at Nabble.com.
-
i wish to make a date diff
but my upper date must be the "now" + 3 days in future, how to make this
addition to the Day(now) value if are in ending (just like 31) due 31 + 3
are 34!!!
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
-
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> There's some way to select specific date and limits choose to this day in
> the datechoose calendar component?
>
> i mean... limits the dais to choose to only future dais!
>
You have to do that yourself (let dtcDate be your DateChooser):
Public
There's some way to select specific date and limits choose to this day in
the datechoose calendar component?
i mean... limits the dais to choose to only future dais!
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
---
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote:
> i try to fill combobox but i cannot access array objects by index names:
>
> ComboBoxLinDest.Add(objetivodestino["destino_descripcion"],
> objetivodestino["destino_id"])
>
> the code to fill array matrix are:
>
> 1) in transpor class
>
> Public F
i try to fill combobox but i cannot access array objects by index names:
ComboBoxLinDest.Add(objetivodestino["destino_descripcion"],
objetivodestino["destino_id"])
the code to fill array matrix are:
1) in transpor class
Public Function GetDestinos() As String[]
Dim RelenosCombox As New Stri
On Fri, 31 Jan 2014, Wolfgang wrote:
> Hello all,
>
> I found a strange behaviour with opacity.
>
> Example:
> Public Sub ButtonStart_Click()
> Dim img1, img2 As Image
> Dim i As Integer
>
> 'let us load an image to img1
> img1 = Image.Load("data/map.png")
>
>
> For i = 1 To 20
> i
21 matches
Mail list logo