Search found 1510 matches
- Sunday 28th August 2022 7:48pm
- Forum: General
- Topic: Raise event in custom component
- Replies: 7
- Views: 1235
Re: Raise event in custom component
can you not just run the event command from the main form on load without requiring the initial trigger? Ie.. Public Sub Form_Open() MyControl_ChangeCat() End just make sure the ChangeCat() sub uses direct links to the Control not the "Last" keyword or in the Form_Open() explicitly set the...
- Sunday 28th August 2022 2:17pm
- Forum: General
- Topic: Raise event in custom component
- Replies: 7
- Views: 1235
Re: Raise event in custom component
Have you tried setting the index in the _Show event not _new ?
Or your form_open
The control has not yet initialised in _new
Or your form_open
The control has not yet initialised in _new
- Friday 26th August 2022 2:56pm
- Forum: Project showcase
- Topic: a Gambas recent files Lister (TrayIcon)
- Replies: 26
- Views: 20426
Re: a Gambas recent files Lister (TrayIcon)
BruceSteers wrote: ↑Tuesday 16th August 2022 12:55pm
I also reported the toggle menu and cinnamon issue on the bugtracker, will soon have it fixed...
Looks like it's now fixed
https://gitlab.com/gambas/gambas/-/comm ... 773b806510
Thank you Benoit
- Friday 26th August 2022 3:49am
- Forum: General
- Topic: [Solved] Loop at top and bottom of Gridview
- Replies: 2
- Views: 660
Re: Loop at top and bottom of Gridview
I'd forget that NewRow arg, if i press down, then press up the NewRow won't be right. And this line looks wrong for arrow-up... If NewRow <= RowCount Then Maybe something like this?... Public Sub Form_KeyPress() Select Case Key.Code Case Global.Key_ArrowUp GridView1.Select(if(GridView1.Row = 0, Grid...
- Thursday 25th August 2022 11:07am
- Forum: General
- Topic: Screen Saver With in Gambas Application
- Replies: 3
- Views: 700
Re: Screen Saver With in Gambas Application
Here's a working class that does that. you could put any code you like in the SWin_Keypress event to do your login. ' Gambas class file Public SWin As Window Public PB As PictureBox Public TM As Timer '' Open the full screen window with a picturebox in it... Public Sub OpenImageDisplayer() With SWin...
- Thursday 25th August 2022 10:41am
- Forum: General
- Topic: Screen Saver With in Gambas Application
- Replies: 3
- Views: 700
Re: Screen Saver With in Gambas Application
I think it would be best to just open a full screen window to show your slides and have that window monitor the key press event and if A is pressed close itself and go back to the app login.
- Wednesday 24th August 2022 10:50am
- Forum: Component Showcase
- Topic: GradientButton, set 2 colours and the background blends
- Replies: 8
- Views: 10521
Re: BrushButton, Images or gradients for button background
Right things changed track a bit. I was directed towards the ReportBrush.class while trying to find a way to be able to manage the Gradients in the IDE. There is already a gradient editor in the IDE with the ReportBrush and I only had to import the ReportBrush.class from gb.report2 to use it. :D Wit...
- Tuesday 23rd August 2022 4:55pm
- Forum: Web
- Topic: We now have a WIP WebDrawingArea :o
- Replies: 2
- Views: 4811
Re: We now have a WIP WebDrawingArea :o
I made a hand drawn web version of the gradient button
My implementation of Painting the text is a bit rubbish but it sort of works for now until Ben make a proper version
http://bws.org.uk/cgi-bin/WebDrawingArea.gambas
It's a brave new world
My implementation of Painting the text is a bit rubbish but it sort of works for now until Ben make a proper version
http://bws.org.uk/cgi-bin/WebDrawingArea.gambas
It's a brave new world
- Tuesday 23rd August 2022 1:17pm
- Forum: General
- Topic: Modifying things with Automatic inheritance (Quick HowTo)
- Replies: 12
- Views: 3044
Re: Modifying things with Automatic inheritance (Quick HowTo)
Very good. But one observation (of course :twisted: ), AFAIK you cannot override event handlers . If for example you try to override the (self)_Timer event handler then both yours and the native timer events will be called and (AFAIK) there is no way to determine which is called first. Just a cavea...
- Tuesday 23rd August 2022 12:45pm
- Forum: General
- Topic: Modifying things with Automatic inheritance (Quick HowTo)
- Replies: 12
- Views: 3044
Re: Modifying things with Automatic inheritance (Quick HowTo)
Very good. But one observation (of course :twisted: ), AFAIK you cannot override event handlers . If for example you try to override the (self)_Timer event handler then both yours and the native timer events will be called and (AFAIK) there is no way to determine which is called first. Just a cavea...