Search found 68 matches
- Wednesday 30th October 2019 12:53pm
- Forum: General
- Topic: when should I expect Catch not to catch errors?
- Replies: 14
- Views: 13541
Re: when should I expect Catch not to catch errors?
I think my next step is to try to eliminate gb.Settings from the equation. I have been assuming that since I saw this only in a procedure with reads from Settings, that it may be involved. I need to recode a version of this console app that eliminates the use of the component and simply generates it...
- Wednesday 30th October 2019 12:41pm
- Forum: General
- Topic: when should I expect Catch not to catch errors?
- Replies: 14
- Views: 13541
Re: when should I expect Catch not to catch errors?
...but when working with the gb.Settings[] , I am running into a Catch that will not catch.... That's an interesting problem Steve. Can you tell me what happens when Catch fails to Catch? i.e. if you step through the code, one line at a time, does the code just execute one line at a time all the wa...
- Wednesday 30th October 2019 12:36pm
- Forum: General
- Topic: when should I expect Catch not to catch errors?
- Replies: 14
- Views: 13541
Re: when should I expect Catch not to catch errors?
You might want to try what was pointed out to me. As far as I have found it catches everything. Catch Message(Error.Text) Try it and see if that helps. @cage, Thanks for the idea. So I went back to replace my Debug Error.Text with Message(Error.Text), but the compiler gently reminded me that I was ...
- Tuesday 29th October 2019 7:51pm
- Forum: General
- Topic: when should I expect Catch not to catch errors?
- Replies: 14
- Views: 13541
when should I expect Catch not to catch errors?
I have been using Catch in various parts of an app I am writing, and it mostly behaves as I'd expect, but when working with the gb.Settings[] , I am running into a Catch that will not catch. Although I can test for the null value that I am getting back from one particular settings scenario, it is th...
- Sunday 27th October 2019 3:27pm
- Forum: General
- Topic: Did you know?
- Replies: 91
- Views: 409333
Re: Did you know?
(moved here from General) Haven't seen this mentioned here, although the Help wiki confirms it. It may initially surprise folks coming from VB that Sub / Function / Procedure 'are synonymous'. Its not a problem; it just means that when you use Sub or Function your are merely following a naming conve...
- Sunday 27th October 2019 11:52am
- Forum: General
- Topic: Action, the class and the property
- Replies: 11
- Views: 11769
Re: Action, the class and the property
Thanks! It's a handy way to affect groups of controls. I've started using it to act on paired controls like a given toolbar-button + menu-item. In this case, the click event handlers of each call a sub containing this code, and the code disables those controls while something is happening, and also ...
- Saturday 26th October 2019 10:30pm
- Forum: General
- Topic: Action, the class and the property
- Replies: 11
- Views: 11769
Action, the class and the property
This thread is a follow-on to my discussion with cogier in the Components forum about the meaning and purpose of Action. Initially I was baffled by the purpose of the property Action of type String in the controls. I've since seen the Action class defined in the wiki as 'This class acts like a read-...
- Saturday 26th October 2019 6:32pm
- Forum: Component
- Topic: A little help?
- Replies: 9
- Views: 11725
Re: A little help?
Thanks cogier; I think I already have a logon there, because I tried to report an issue a week or so ago. I'll look into the wiki change once I figure out what I would want to add.
As for Action, I'd accept the offer, except it might make a good post in the general forum. Thnaks,
Steve
As for Action, I'd accept the offer, except it might make a good post in the general forum. Thnaks,
Steve
- Saturday 26th October 2019 11:42am
- Forum: Component
- Topic: A little help?
- Replies: 9
- Views: 11725
Re: A little help?
There is a lot that is not in the Help index. Yes, the language syntax in present, but explanations / examples would be helpful. I still cannot tell what the purpose of ' Action ' property is from looking at the help. ( Don't tell me yet -- there must be an explanation of that one written down somew...
- Friday 25th October 2019 5:12pm
- Forum: Component
- Topic: A little help?
- Replies: 9
- Views: 11725
Re: A little help?
The edit mode apparently defaults to using the TextBox as the 'editor' control, although ComboBox is an option I saw somewhere while digging through this. The Editor property gives access to this control, and after assigning it to a textbox, I could see the selection members. Public Sub TableView1_C...