T.R | Title | User | Personal Name | Date | Lines |
---|
926.1 | | CASEE::LACROIX | Gone with the wind | Tue Jun 13 1989 03:39 | 8 |
| I don't know about the specific problem you are experiencing (you may
be hitting a bug somewhere), but having 54 text widgets in a single
dialog box is going to be VERY expensive, in terms of memory and
startup time. Consider working some more on the graphical design of
your dialog box to see if you can eliminate most of those widgets!
Denis.
|
926.2 | Thanks, but I thinK I need this... | CSC32::S_HALL | VAXC SPR == Noop ? | Tue Jun 13 1989 09:08 | 17 |
|
Re: .1
thanks for the suggestion, but here's the -why- of the
multiple text widgets.
I'm displaying a VMS data structure, with the field name
on one side, and its value on the other. I'd like the
user to be able to 'click' on a field on the value side,
and generate a callback which will realize a widget
that displays what the hex value means... bit settings, etc.
This is the only I was able to do this and have it look
neat and professional.
Steve H
|
926.3 | Label widgets? | GR8FUL::HERBERT | Class B Computing Device | Tue Jun 13 1989 14:08 | 6 |
| Re: .2
Why won't label widgets do what you want?
Kevin
|
926.4 | Labels 'd probly work, too.... | CSC32::S_HALL | VAXC SPR == Noop ? | Tue Jun 13 1989 14:46 | 16 |
|
re: .3
I guess they could.... I just thought SText widgets made
more sense in terms of the constantly changing values of
these fields.
Six of one, a half-dozen of the other.....
I'd just love to know what reached up and smacked me in the
face with these focus callbacks.....
Steve h
|
926.5 | | PSW::WINALSKI | Careful with that VAX, Eugene | Tue Jun 13 1989 19:42 | 5 |
| If the user isn't going to be editing the fields and changing the data, you're
better off with label widgets or gadgets. Less overhead than SText.
--PSW
|
926.6 | I'll give 'em a try...report back here.... | CSC32::S_HALL | VAXC SPR == Noop ? | Wed Jun 14 1989 10:04 | 6 |
|
Thanks for the info, Paul. I'll give the labels a try.
Steve Anything-for-a-callback Hall
|
926.7 | No workee... | CSC32::S_HALL | You compiled your WHAT ?! | Fri Jun 16 1989 13:20 | 9 |
|
Well, I converted the stuff to label widgets. I still can't get a
<Btn1Dn> to trigger an action procedure.
Could it be the fact that I'm using Popup Dialog Boxes ?
Steve h
|
926.8 | | PSW::WINALSKI | Careful with that VAX, Eugene | Fri Jun 16 1989 21:48 | 9 |
| Have you tried push button widgets? They are just like labels except that they
have three built-in action procedures you can specify: activated (MB1 clicked),
arm (MB1 down), and disarm (MB1 up or mouse moved out of the button after MB1
down). You don't have to play any games with translation tables, etc. Just
pass your callback routine address as one of the parameters when you create the
widget.
--PSW
|
926.9 | Reduced greatly....still trouble.. | CSC32::S_HALL | You compiled your WHAT ?! | Mon Jun 26 1989 16:13 | 26 |
|
Hi,
Push Button widgets have all that drop-shadow stuff, and would
look pretty awful. I've got to have something that looks like
a table, where the user can click on a table entry and get
a callback.
I've just tried the following:
Changing the Stext widgets to label widgets, and specified
the translations (and later the accelerators) to be
Btn1Down.
I even reduced the size of the window in question to :
1 PopupDialogBox and
1 LabelGadget.
Still no action procedure will fire....
Gad...
Steve h
|
926.10 | You don't like shadows? Turn them off! | GVRIEL::SCHOELLER | Who's on first? | Mon Jun 26 1989 16:58 | 9 |
| re: .9
You are aware that you can turn off the borders and drop shadows on pushbuttons?
As a matter of fact, if you place them in a work area menu it is even easier
to do.
Dick
|
926.11 | I reckon I'll tinker with PushButtons... | CSC32::S_HALL | You compiled your WHAT ?! | Tue Jun 27 1989 08:52 | 12 |
|
Weelllll,
I guess I wasn't aware that I could turn off the drop shadows.
I'll give that a try (the version number of my source is getting
to be an embarrasment....).
Thanks,
Steve h
|