Search found 1561 matches
- Saturday 10th December 2022 11:17am
- Forum: General
- Topic: [Solved] Screen not updating
- Replies: 5
- Views: 1573
Re: Screen not updating
@BruceSteers Thanks for that I'll try it when I get to the computer Also would it be better to keep the timer or would wait 3 wait 3 seconds and then start the process? Defo timer. If you want to use methods automatically at program start then a timer is best as the Form_Open needs to complete to s...
- Friday 9th December 2022 7:02pm
- Forum: General
- Topic: [Solved] Screen not updating
- Replies: 5
- Views: 1573
Re: Screen not updating
something like this... If global.CaptureCashDrawer = "Yes" Then labSystemMessage.Caption = "Creating End of day Report - Cash In Drawer" labSystemMessage.Refresh frmClosePoS.Refresh Wait 0.1 StartPrint End If then all the objects can catch up and refresh in the "Wait" b...
- Friday 9th December 2022 5:51pm
- Forum: General
- Topic: [Solved] Screen not updating
- Replies: 5
- Views: 1573
Re: Screen not updating
Try using Wait to let the event loop run You may find it better to use "Wait 1" where you use "Sleep 1" or whatever the value.. Sleep completely halts your program but Wait will allow the event loop to catch up while it pauses. I have fixed many an object refresh problem by addin...
- Thursday 8th December 2022 12:57pm
- Forum: Web
- Topic: ShowModa()l form problem and laggy curl component.
- Replies: 3
- Views: 4934
Re: ShowModa()l form problem and laggy curl component.
I have noticed the lag in some of my projects. I do not know why. Maybe someone on the gambas mailing list may know? And i do not get any of the errors you get with showmodal, the application you posted works as expected for me so i cannot help. Perhaps a glitch in your program? Maybe try pressing t...
- Wednesday 7th December 2022 6:14pm
- Forum: General
- Topic: Pass a class to a variable
- Replies: 11
- Views: 3301
Re: Pass a class to a variable
I assume you have studied the wiki
http://gambaswiki.org/wiki/comp/gb/class
http://gambaswiki.org/wiki/comp/gb/classes
Things like
Class.Name
Object.Parent
Surely if your form manually loads a specific class it can make a note of the class name and store it somewhere that the other form can see?
http://gambaswiki.org/wiki/comp/gb/class
http://gambaswiki.org/wiki/comp/gb/classes
Things like
Class.Name
Object.Parent
Surely if your form manually loads a specific class it can make a note of the class name and store it somewhere that the other form can see?
- Tuesday 6th December 2022 2:03pm
- Forum: General
- Topic: Pass a class to a variable
- Replies: 11
- Views: 3301
Re: Pass a class to a variable
Hello, I have a project that uses a class to pass data back to a from and load data based on the class index = record number. The problem is that there are several classes. One for each datatable. I want to create one form that will use any one of the classes to locate data. I would like to pass th...
- Tuesday 6th December 2022 1:01pm
- Forum: Beginners
- Topic: Sometimes Form Modal or Non-Modal
- Replies: 13
- Views: 3314
Re: Sometimes Form Modal or Non-Modal
At the moment the closest thing to what I'm looking for is setting Form1 utilities=True But the problem is that it can't be resized. A modal window can be expanded larger than the initial size set in the IDE but not shrunk smaller. The answer... Make the Form size in the IDE form designer the Minim...
- Friday 2nd December 2022 7:43pm
- Forum: Beginners
- Topic: Sometimes Form Modal or Non-Modal
- Replies: 13
- Views: 3314
Re: Sometimes Form Modal or Non-Modal
I have uploaded as a PDF where: 1. Run FMain 2. Run Form1 3. I run Form2, but doing so hides Form1, this is not what I want. Y 3. Again, because the representation is how I want it to happen. Yes I think we all understand what you are saying/asking, you have explained many times. We need to see why...
- Friday 2nd December 2022 6:46pm
- Forum: Beginners
- Topic: How to add checkbox or switch button column to tableview
- Replies: 4
- Views: 1935
Re: How to add checkbox or switch button column to tableview
You could use the cells Picture property to be a checkbox picture , either selected or unselected. See the code below. First i create both selected and unselected checkbox pictures to use. Then in column[1] i set each rows text and use the unselected checkbox picture for column[0]. the IsSelected() ...
- Thursday 1st December 2022 10:28am
- Forum: Beginners
- Topic: Sometimes Form Modal or Non-Modal
- Replies: 13
- Views: 3314
Re: Sometimes Form Modal or Non-Modal
As I have commented in another query. I would like to load a form to modeless so that I can use it with another and use screen splitting to have one form on the right and one on the left. But at the same time when I load a Message it hides the form that I have loaded as Show, therefore I would like...