Search found 29 matches
- Wed Feb 19, 2020 6:04 pm
- Forum: Technical / Scripting
- Topic: How do I populate a StringGrid using a reference to row & column?
- Replies: 3
- Views: 3948
How do I populate a StringGrid using a reference to row & column?
I've done a search but can't find an example showing how to populate a StringGrid object by using a cell reference. However, I did find this post, https://www.mjtnet.com/forum/viewtopic.php?t=8635, detailing how to do what I want, but this is a workaround and over 4 years old. Marcus mentioned that ...
- Tue Feb 18, 2020 3:08 pm
- Forum: Technical / Scripting
- Topic: MS Editor > Help > Contents > More Examples and Comments Online link issues
- Replies: 1
- Views: 1940
MS Editor > Help > Contents > More Examples and Comments Online link issues
The More Examples and Comments Online link at the bottom of each topic description in Help generates a Javascript error whenever a description exists and an Error 404 when it doesn't.
- Thu Feb 13, 2020 4:09 pm
- Forum: Technical / Scripting
- Topic: MS Version Number <> Installation Download Version Number
- Replies: 4
- Views: 3250
- Thu Feb 13, 2020 4:04 pm
- Forum: Technical / Scripting
- Topic: MS Version Number <> Installation Download Version Number
- Replies: 4
- Views: 3250
Re: MS Version Number <> Installation Download Version Number
Not likely to...sarkie.
- Thu Feb 13, 2020 3:51 pm
- Forum: Technical / Scripting
- Topic: MS Version Number <> Installation Download Version Number
- Replies: 4
- Views: 3250
MS Version Number <> Installation Download Version Number
The version number of the installation kit in the user download area is 14.5.7a but after installation the Help>About dialog box describes it as 14.5.7.
- Tue Feb 11, 2020 4:46 pm
- Forum: Technical / Scripting
- Topic: GetWindowSize returns size of combobox
- Replies: 4
- Views: 3943
Re: GetWindowSize returns size of combobox
Hello Marcus, Given the significance of what you said in your response, it might be an idea to make a reference to the WF_TYPE variable in the help for GetWindowSize as you have for other functions such as WaitWindowOpen and WaitWindowClosed. There does remain an inconsistency, however, in that the ...
- Mon Feb 10, 2020 11:08 pm
- Forum: Technical / Scripting
- Topic: GetWindowSize returns size of combobox
- Replies: 4
- Views: 3943
Re: GetWindowSize returns size of combobox
Ok, so that seems to infer that the GetWindowSize function may be including the combo box object in its search for the window. I just tested it again and that's exactly what it's doing. I also added an Edit box and set its Text value to the Window Title, and the GetWindowSize function returned the s...
- Mon Feb 10, 2020 3:34 pm
- Forum: Technical / Scripting
- Topic: GetWindowSize returns size of combobox
- Replies: 4
- Views: 3943
GetWindowSize returns size of combobox
I'm using the following code to select a window title from a combo box and run a subroutine to get the window size. I then update a label with the width & height of the selected window. For some reason, the width & height being returned by the GetWindowSize function is the width & height of the comb...
- Fri Feb 07, 2020 8:19 pm
- Forum: Technical / Scripting
- Topic: Populate a dialog combo box with GetWindowList
- Replies: 2
- Views: 2303
- Fri Feb 07, 2020 6:39 pm
- Forum: Technical / Scripting
- Topic: Populate a dialog combo box with GetWindowList
- Replies: 2
- Views: 2303
Populate a dialog combo box with GetWindowList
I got this from Help but it didn't populate the combo box. Is there something missing? What's the alternative to the deprecated statement? //Populate a dialog combo box with a window list GetWindowList>Dialog1.msComboBox1.Items.Text ResetDialogAction>Dialog1 (Deprecated) This did work, though: GetWi...
- Thu Feb 06, 2020 5:25 pm
- Forum: Enhancement Suggestions
- Topic: Return image size in FindImagePos function
- Replies: 6
- Views: 13795
Re: Return image size in FindImagePos function
..that'll do nicely...
- Wed Feb 05, 2020 1:37 pm
- Forum: Enhancement Suggestions
- Topic: Return image size in FindImagePos function
- Replies: 6
- Views: 13795
Re: Return image size in FindImagePos function
Yes, but the script doesn't...I know you can get the size, programmatically, using an image object on a dialog, but that's a bit convoluted, don't you think? Given that a significant part of MS concerns images, it's odd that it doesn't have a size function, or does it?
- Tue Feb 04, 2020 12:15 pm
- Forum: Technical / Scripting
- Topic: How do I create a button that doesn't close a dialog?
- Replies: 5
- Views: 4681
- Mon Feb 03, 2020 12:13 pm
- Forum: Technical / Scripting
- Topic: How do I create a button that doesn't close a dialog?
- Replies: 5
- Views: 4681
Re: How do I create a button that doesn't close a dialog?
Your script doesn't load because of the single apostrophe in the caption property (Won't should have 2 apostrophes - Won''t). It turns out that in order for a button to perform a subroutine and not close the form, its ModalResult must be zero. Note that if a button's ModalResult value is zero (the d...
- Sun Feb 02, 2020 3:13 am
- Forum: Technical / Scripting
- Topic: How do I create a button that doesn't close a dialog?
- Replies: 5
- Views: 4681
How do I create a button that doesn't close a dialog?
I want a button in a dialog that performs a subroutine and nothing else. I want the dialog to stay open. I have added an AddDialogHandler statement that performs the subroutine, but the dialog closes. How do I stop it?