Search found 1561 matches

by BruceSteers
Tuesday 11th October 2022 8:36pm
Forum: General
Topic: Adding data to a existing line in a list box
Replies: 4
Views: 638

Re: Adding data to a existing line in a list box

I'm pretty sure a listview won't use varying line sizes

But a gridview will for sure
You can set gridview.rows[iIndex].Height = gridview.font.height * 2 or something
by BruceSteers
Wednesday 5th October 2022 4:39pm
Forum: Beginners
Topic: Bad row index
Replies: 6
Views: 2103

Re: Bad row index

Thank you very much :) Although I have solved it I believe well. You give me very interesting information to renew my code and update my knowledge. Thank you, you are really very kind. Some day I will help you in your code, but it may not happen, since I suppose you are a better Gambas developer th...
by BruceSteers
Wednesday 5th October 2022 10:20am
Forum: Beginners
Topic: Bad row index
Replies: 6
Views: 2103

Re: Bad row index

If you wish to stop an events default actions you can use the "Stop Event" instruction. PS, you should always prefer the MouseUp event to the MouseDown one. Using MouseUp and Mouse.Inside() you can do the thing where if you click on something you can move the mouse away from it before lett...
by BruceSteers
Tuesday 4th October 2022 9:26pm
Forum: Beginners
Topic: Put dark theme in the whole IDE 3.15.2
Replies: 2
Views: 1646

Re: Put dark theme in the whole IDE 3.15.2

Does the theme settings not do dark theme?
by BruceSteers
Monday 3rd October 2022 11:45am
Forum: Beginners
Topic: Components and Classes
Replies: 2
Views: 1679

Re: Components and Classes

Hello, I need a guide but not spiritual :) Could someone explain it to me well, well. How to make classes in Gambas as well as components. Even if it is to send me to a website that has good explanations To create components check this page out. http://gambaswiki.org/wiki/dev/gambas You should look...
by BruceSteers
Saturday 1st October 2022 5:38pm
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 4036

Re: Detect label and change it

Nup. Parent tracing can't work if the parent is the form (or some container in the form that contains multiple controls). Quite an unlikely "if" though I think. take for example Cogiers example , i bet each one of those textboxes with labels are in their own HBox containers. so it would w...
by BruceSteers
Saturday 1st October 2022 2:03am
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 4036

Re: Detect label and change it

Alternatively you can customize the TextBox.class to find it's corresponding Label and have a validating function. Ie.. save this file in your .src folder as TextBox.class ' Gambas class file Export Property Read Label As Label Use hLabel Public Sub Validate() As Boolean hLabel = Me.Parent.Children[...
by BruceSteers
Friday 30th September 2022 5:05pm
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 4036

Re: Detect label and change it

No there is nothing automatic, stuff like that you just gotta code yourself. A function to check would be pretty simple as usually that situation involves a bunch of HBoxes all containing one label and 1 textbox so you can use the .Parent.. Public Sub CheckTextFields(TextBoxes As TextBox[]) As TextB...
by BruceSteers
Tuesday 27th September 2022 1:02pm
Forum: Project showcase
Topic: Simple Temp monitor example using LCDLabel
Replies: 5
Views: 10310

Re: Simple Temp monitor example using LCDLabel

I've updated the program in the first post to have a settings window to select sensor method also updated the tooltips to show details about the sensor reading (as shown in pic) hehe yeah a simple version is simple enough but i had to have some features , like i had to import and edit the LCDLabel.c...
by BruceSteers
Wednesday 21st September 2022 4:08pm
Forum: General
Topic: Convert FreeBASIC code to Gambas stuck
Replies: 4
Views: 926

Re: Convert FreeBASIC code to Gambas stuck

I dunno looks like fairly simple file handling routines. But freebasic uses Loc for the recent handle you will just have to use stream functions on the com port stream explicitly. One command looked like a simple While not EOF(hStream) Another waits for the port to become open. This is not "hav...