> MyArray[I] = New toolbox(FMain) as "MyBoxes"
>
>
> public sub MyBoxes_Click()
> Print Last.Name
> End
>
>
> or
> MyArray[I] = New toolbox(FMain) as "MyBoxes"
> MyArray[I].Tag = I
>
>
THX, forgot the "as MyBoxes"!!
--
View this message in context:
http://old.nabble.com/How-I-get-s
Here is my problem. At runtime I create a list (better an Array ) of
toolboxes depending of the size of my window. So I don't know the number of
boxes. I calculate them and use something like
MyArray[I] = New toolbox(FMain)
After building some toolboxes, they work very well, but how can I get t
I think, that could be a nice component for Gambas, so we can use it for
quasi threading some programms. ( I see no multithreadingfeatures in gambas
)
Now I want to make a new component, but the example in the documentation (
part Main-files and so on ) are simply blank.
Where can I see, how to
Fabien Bodard-4 wrote:
>
>
> Well this what i do :
>
> Public sub Button_Click()
>
> TextBox1OnButtonClick
>
> End
>
> Private Sub TextBox1OnButtonClick()
>
> TextBox1.Background=color.yellow
>
> End
>
>
>
Hi Fabien,
that's another sight of what I want, but it will work and that
Adam Ant wrote:
>
>
>
> Translated: "The button control raises the event "Click" when the mouse
> button is clicked on it. Can a textarea control observe and handle the
> button's Click event?"
> The literal answer is "no" because the native textarea control does not
> observe events from so
Fabien Bodard-4 wrote:
>
>
>
> really i don't understand what you want to do
>
>
Ok, I'll try to explain.
( For some years ago I worked with a 4GL tool under Win.)
My example:
One Button, one Textarea.
Button-click-> the button raise the "click" signal.
Under this tool you could "c
Is it possible to send an Event to another Control?
Example:
Pushin a button will send an event to a textarea, so it can do some
operation.
Is it possible to define own events?
Best regards
Juergen, who like your gambas every time a little bit more.
It's a great work!!!
--
View this message
Uuups,
found it myself, it means
Print Object.Type(C)
( How stupid )
and I get it all!!!
THX
Juergen
--
View this message in context:
http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32732397.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
If I try it with this lines, I get an error.
Public Sub Form_Open()
Dim C As Object
For Each C In Me.Children
Print C.Type()
Next
End
(Unknown symbol in class (Textbox))
How can I make it right?
(Sorry, but I have'nt found anything under Class.type in the
Thanks, that what i was looking for.
Juergen
--
View this message in context:
http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32732238.html
Sent from the gambas-user mailing list archive at Nabble.com.
My idea is to scan a container(form) with several fields ( button, textarea,
text and so on ) and if i can get the class of a Control, i can use special
automated functions to put data from a database into it.
Example: if Value in DB is 1, akticate Button
But HOW is it possible to get this.
EXA
> Salut,
>
> if TabHandle is your TableView.
>
> PUBLIC SUB TabHandle_Data(Row AS Integer, Column AS Integer)
> TabHandle.CellData(Row, Column)
> END
>
>
THX, but one question. At which point the Data Event will be send?
Juergen
--
View this message in context:
http://old.nabble.com
Mmm. I think the problem may be in your code. Can you show us how you read
the
data and fill the TableView?
No problem, here it is:
For i = 0 To sql2.DBResult.Max
TabHandle.Rows[i].Selected = False
TabHandle.Rows[i].Title = i + 1
TabHan
If I'll to load a lot of Rows into a tableview ( > 2500 ) the time for
reading this data will grow. ( 1000 needs 1 second, 5000 need nearly 1
minute ! )
Is it possible to stop the DATA event, ( and acitvate it after reading the
data ) I think it will be called for every cell and that cost a lot o
14 matches
Mail list logo