win32Lib: modal windows problem; & text to label problem

new topic     » topic index » view thread      » older message » newer message

David,

I'm getting sorta close to finishing my first windows program using
Win32Lib, & I have two remaining main problems (that I know of).
They are:

1.  MODAL WINDOWS: open, minimize, REOPEN, close; click in main: hang.
If I open a modal window, click on "active" icon at bottom of screen to
minimize, click on a BUTTON IN MAIN WINDOW to REOPEN the modal window
(which succeeds), close modal(which succeeds),  then click anywhere in
main, my system  HANGS.  This is a problem because a user (children in
particular) might or could do that.

2.  SETTEXT IN A LABEL: reversed "text" parameters don't display right.
If I want to put TWO THINGS in a label, one from quoted text & the other
from a sequence variable (by concatenating them), putting the quoted text
first correctly puts BOTH in the label, but putting the sequence variable
first only puts the variable there by itself.

This works:

sequence ItemFromList
ItemFromList=getItem( aList, anIndex )
setText(aLabel, "some text " & ItemFromList)
-- displays BOTH "some text" and ItemFromList

This doesn't:

sequence ItemFromList
ItemFromList=getItem( aList, anIndex )
setText(aLabel,  ItemFromList & "some text" )
-- only displays ItemFromList

What am I doing wrong??  setText takes a sequence as 2nd parameter, and
both ItemFromList and "some text" are sequences, concatenated, so I would
think either order would work.

Dan Moyer

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu