On Friday, October 7, 2022 at
11:57:12 AM UTC+11 roger tunnicliffe wrote:
Thanks
for your effort (not sure your name)
I think you will struggle without the copy files so here
they are..
Yes, mainly I needed the definition of menu_items.
I was able to strip out all the other stuff and just use fake
values.
Since the issue seems to be focused on the "account no"
widget(s)
not displaying properly, I focused on those.
Hmm, it looks like there's two widgets.. a spinner and an output
widget,
but based on their x,y positions.. they're in the same position?
win2_accountNo = new
Fl_Spinner(x+50,y+25,60,20,"Account No...:");
win2_accountNoX = new
Fl_Output(x+50,y+25,46,20);
Widgets really shouldn't overlap unless for sure one is set to
hide()
while the other is set to show(). But I think both are being
shown
at the same time, which would surely lead to drawing problems.
Note that deactivate() and hide() are not the same things;
deactivate() just "grays out" the widget and makes it ignore
events
such as clicks and keyboard input, whereas hide() makes the
widget
not draw at all, and is not involved in event handling at all.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.