Group

Post

Posted
Rating:
#1 (In Topic #979)
Avatar
Guru
cogier is in the usergroup ‘Guru’
Has anybody tries to group controls together using Gambas 3.18.0 Stable? It's all changed, and I can't get my head around it.

<IMG src="https://www.cogier.com/gambas/Group.png"> </IMG>

Do you know how you are supposed to use this?
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Enthusiast
GrayGhost is in the usergroup ‘Enthusiast’
I have it working in a program and it works in 3.18.0

I think I just gave it a name in that box   "accountinfoBoxes"

Then:

Code (gambas)

  1. Public Sub accountinfoBoxes_keypress()
  2.  
  3.   If Last.tag = "routeNum" Or Last.tag = "accNumber" And Not (IsDigit(Key.Text) Or Key.Code = Key.BackSpace Or Key.Code = Key.Tab Or Key.Code = Key.BackTab Or Key.Code = Key.Left Or Key.Code = Key.Right) Then Stop Event
  4.  
  5.   If Last.Name = "TBbankroute" And TBbankroute.Text.Len = 9 And InValid_BankRoute(TBbankroute.Text) Then
  6.       Balloon.Font = Font["Arial,18,Bold,italic"]
  7.       Balloon.Warning("Not a valaid bank routing number!" & gb.CrLf & "    Must be 9 digits", TBbankroute)
Online now: No Back to the top

Post

Posted
Rating:
#3
Guru
BruceSteers is in the usergroup ‘Guru’
 How do you mean?

It's not just a pop down list it's a textbox.
First type a name of your choice, then that name will be in the list for other items.

Ps, text box shows no text for some wth font size 10 or lower
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Guru
cogier is in the usergroup ‘Guru’
 I have upped the font size and tried all I can to enter text, but my system won't let me. I have had to hack the .form file and add it in there.
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’

cogier said

I have upped the font size and tried all I can to enter text, but my system won't let me. I have had to hack the .form file and add it in there.

Hmm I had not seen this error unless a small font size but now i do.

Maybe some gtk update has caused it?

It works okay with the IDE running QT
Online now: No Back to the top

Post

Posted
Rating:
#6
Guru
BruceSteers is in the usergroup ‘Guru’
It seems okay now on my machine
Online now: No Back to the top
1 guest and 0 members have just viewed this.