Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - James Zukowski

#301
Language / Re: Update a LIST_BOX
July 25, 2018, 01:06:42 PM
Here's a variation on that theme, without having to actually remove the existing item:

0010 print 'CS'; list
0020 My_List=100
0030 list_box My_List,@(2,14,12,6),fnt="*"
0040 list_box load My_List,"Dog/Cat/Pig/"; wait 1
0050 My_List'FindItemText$="Cat" ! Locate the item to change
0060 My_List'ItemText$="T-Rex" ! Load this one in its place
0070 wait 3
0080 ! list_box remove My_List
0090 end
#302
Programming / Re: WAIT FOR EVENT example - Error 49
July 18, 2018, 10:03:42 AM
Based on the examples, both above and in the documentation, there seems to be an ENABLE EVENT directive missing.
#303
Wish List / Re: gosub SOMEWHERE with a$=b$
July 13, 2018, 09:37:49 AM
You can pretty much already do that with a CALL into the current program:

CALL pgn+";routine_name",addrx$
#304
Nomads / Right-Justified Text for CheckBoxes
July 12, 2018, 06:22:00 PM
After a bunch of trial and error, I've been able to get (most of) our Nomads panels to scale everything fairly well; this tracks pretty well along the lines of the text-based windows from our legacy software. (Most of the users run maximized text windows, or close to it.) The thing that doesn't do so well is a check_box with right-justified text to the left of the box.
I asked this last year, and got an answer from Mike King, which looked good, but involved a bit more work than I was in a position to do at the time. Also, our scaling wasn't happening, so just setting the positions and sizes for 100% worked well. It was put on the back burner.
Now that we've got a few things going "right", I've revisited the situation. Following his instructions, I've got it doing pretty well, but the images I'm using get shrunk REALLY small - see attached. The large checkbox is the standard one used by PxPlus. The small one is from the library: {!32X32/Controls/Check_Box_Blue}
When I scale up the window, it starts to approach reasonable size and position. But at 100% (this sample), the image is tiny, and the spacing to the text is rather large (compared to the Fonted Text above in the sample). If I use a base library image (not 32X32), the 100% image is OK, but stays that size when scaled, so it looks tiny against the enlarged fonts.
The Attribute settings for this are: Tab Stop, Button to the Right of Text, Flat Button, Flat - No Border, and Transparent. Is there anything I'm missing to get this looking decent throughout the range of sizes?
Thanks, all!
#305
Language / Re: Spacing Between Lines
July 12, 2018, 10:16:39 AM
No, I had not. It's not on the list of list_box properties. But it works exactly as we need it.

Thanks!
#306
Language / Spacing Between Lines
July 11, 2018, 04:42:14 PM
Does anyone know if there is a way to adjust the line spacing in a list_box? (Maybe a grid, too?)

We're looking for something like a leading setting that would increase readability. I know we can set the list'LinesPerRow to something like 1.1 or 1.25, but that also enables text wrap, which we don't really want.

I've seen this behavior in the Nomads designer, where it's normally a bit spaced, but if the designer errors out and I restart it, the lines are cramped together.

Suggestions?
#307
Language / Re: Message (Status) Bar Height
July 09, 2018, 05:02:18 PM
I understand that, and am taking advantage of that behavior to be able to scale our Nomads windows (paralleling our legacy text-based windows).
Also, it seems that the Status bar typically goes away on a newly-Maximized window. Sometimes, though, it appears slightly above the taskbar, a few pixels into the window.
While not critical, it does look a bit inconsistent from the user perspective.
Suggestions welcome.
#308
Language / Message (Status) Bar Height
July 09, 2018, 03:35:23 PM
We use the Status Bar to provide certain info to the users. We also allow them to re-scale the window size in specified increments. When the window is resized, we also reset the 'option'("MessageBar".##) value, along with the segment sizes, all scaled to the new window size. The "problem" is that the new MessageBar information doesn't take effect until either another program is run, or the window is manually minimized/restored.
Is there something I'm missing, or is that "just the way it is", or can something be done about it?
Thanks!
#309
Language / Best use of 'ES' mnemonic
July 03, 2018, 10:01:13 AM
There are several methods within PxPlus to generate an ESCape character: CHR(27), $1B$, esc variable, and 'ES' mnemonic. In most cases, the 'ES' mnemonic is (and should be) set to a value of $1B$.
However, certain printers may use a different "attention" character, e.g., Printronix typically uses $01$. Would this be a better use of the 'ES' mnemonic, since a $1B$ wouldn't necessarily do what one would expect?
Thoughts?
#310
Off Topic / Re: Mailing List Update
June 28, 2018, 04:19:49 PM
Fortunately, my list of "old" links is rather short. While I don't recall specifically why I bookmarked them, I know the information would be something I would interested in during the development/upgrade/update of our system. Some may have since been superceded, as you indicated, or already incorporated into the software.

Here are the original message numbers and their corresponding subject lines:
56128: Spooling
113168: Startup
113043: Password Encryption
113778: Nomads Security
82657: Multi-Monitor Explanation/Usage
79935: Excel Interaction
73888: Folder Tab Colors

Thanks!
#311
Off Topic / Mailing List Update
June 28, 2018, 01:27:18 PM
Is there any expected timeline for any of the maillist content to be available on the forum? While the maillist is still functioning in a Q&A mode only (no interactions or searching available), there is a deep fount of knowledge that would ultimately be lost if it doesn't get transferred - even in abridged form.

In a quick review on my browser bookmarks, I noticed some items that I had marked that were in the forum, but alas are no longer accessible. (I guess I should have reviewed earlier while it was still up, so I could download the details. Too late...for now.)