ID:1400043
 
(See the best response by Dm31st3r.)
Problem description:
I've got a button on the window that sits above (not on) a output control. When I click the button, the button gets hidden with this winset call.

winset(usr, "gamescreen.buttonCreateNewCharacter", "is-visible=false")


When the button hides, all the text in the output window gets unexpectedly selected.

Any ideas on what might be causing that?

Second to that, I cut my output control, closed the editor window, saved, recompiled, ran, closed the game, opened the window, pasted the control back in and even though it's showing in the editor window, its not showing up in the game. In fact, no output controls will show at run-time now. Uhg.

Still troubleshooting.

[EDIT]
Setting the winset call so it tries to set the button to "is-visible=true" results in no repro (The text isn't selected).
Everything looks normal in the .dmf file as far as I can tell.

elem "output1"
type = OUTPUT
pos = 16,432
size = 504x120
anchor1 = 50,50
anchor2 = none
font-family = "Arial Narrow"
font-size = 14
font-style = ""
text-color = #ffffff
background-color = #000000
is-visible = true
is-disabled = false
is-transparent = false
is-default = true
border = sunken
drop-zone = false
right-click = false
saved-params = "max-lines"
on-size = ""
link-color = #0000ff
visited-color = #ff00ff
style = ""
enable-http-images = false
max-lines = 1000
image = ""
This is what it looked like before I messed with it (from backup).
elem "output1"
type = OUTPUT
pos = 17,424
size = 504x120
anchor1 = 50,50
anchor2 = none
font-family = "Arial Narrow"
font-size = 14
font-style = ""
text-color = #ffffff
background-color = #000000
is-visible = true
is-disabled = false
is-transparent = false
is-default = true
border = sunken
drop-zone = false
right-click = false
saved-params = "max-lines"
on-size = ""
link-color = #0000ff
visited-color = #ff00ff
style = "onselectstart=\"return false;\""
enable-http-images = false
max-lines = 1000
image = ""
Alright, changed the z order of the control to the topmost and now the the output control is showing again.

The selection problem still remains though. :(
Alright... changed the z order of the button so it is topmost and now the selection repro went away. Tried to create an example project that repro's and couldn't get it working.
Best response
Please use dm tags for any codes you post