Dennis
Full Member
 
Old but still active
Posts: 147
|
Post by Dennis on Jan 12, 2022 16:59:57 GMT -5
I see the previous thread has been locked. It's strange that I have the issues but that Rod and Anatoly don't have. I tells me that I am doing something wrong... I will look to see if I am not accidently using a "refresh" somewhere. If there is one, and I remove it, and my windows work I will be as happy as a pig in the smelly stuff Thanks all for pointing me in a direction.... I will experiment/check and revert. Regards Dennis
|
|
Dennis
Full Member
 
Old but still active
Posts: 147
|
Post by Dennis on Jan 12, 2022 17:45:52 GMT -5
YES!!! It was a select that was causing the problem.. I am the proverbial pig rolling in the smelly stuff  Murphy's law strikes again. I picked the only window in my entire system to experiment with that had the ONLY select hidden amongst a whole bunch of "disable", "enable" statements! For the love of me, I don't know why I used it as I was resizing nothing. Removed it and now everything works!! I am also going to remove all the relevant stylebit statements as they are redundant.... Thanks Rod and Anatoly - your pointer is much appreciated. Incidently Rod, I think you mentioned that the restriction of using locate, refresh, amd modal is documented. I looked but cannot find the part in the manual that describes the restriction. Can you please give me an indication of where to look? Regards Dennis
|
|
|
Post by Rod on Jan 13, 2022 10:12:58 GMT -5
Open the help file, scroll right down to the REFRESH command. Click on that then the Windows and Dialog link.
|
|
|
Post by tsh73 on Jan 13, 2022 12:04:52 GMT -5
What kind of "select" ?
|
|
Dennis
Full Member
 
Old but still active
Posts: 147
|
Post by Dennis on Jan 13, 2022 15:45:58 GMT -5
Anatoly, apologies, I meant a "refresh" not a select. It was a print #handle, "refresh". Thanks Rod. I never looked at the actual REFRESH command but stopped at the "Window and Dialog Commands" topic. If you look at that topic, it does not differentiate between window types. Irrespective, I had no need to use the refresh. I checked the rest of my system and that was the only instance... Must have had a grey hair moment..  Perhaps a small change to the LB help should be applied??
|
|
|
Post by Rod on Jan 13, 2022 16:15:38 GMT -5
It does, but the help file is lean and mean and every word is there for a reason.
RESIZEHANDLER - This command sets up an event handler that is activated when the user resizes a window of type "window". This command is not useful for dialog windows or for windows without a sizing frame. See also the REFRESH and LOCATE commands below. 'set up a handler for when the user resizes a window print #handle, "resizehandler [branch]" or... 'clear the resizing handler print #handle, "resizehandler" See the example program RESIZE.BAS.
You really have to read around and about the command set you are interested in.
|
|
Dennis
Full Member
 
Old but still active
Posts: 147
|
Post by Dennis on Jan 13, 2022 17:11:26 GMT -5
Thanks Rod. Since I wasn't resizing, I never paid much attention to the resize commands. I never went into reading in detail commands that were not relevant to what I was doing. I have visual impairment issues post eye surgery and I now struggle with certain fonts, colors, and point sizes. I have to limit using my eyes which means I only read the necessary. Most of the time I see the screen as a blur and have to increaese the resolution to 150%. I use a custom-designed magnfying glass to read books and other documentation. Never-the-less, point taken - read more.  Thanks for your help. Regards Dennis
|
|