| Blockland Forums > Modification Help |
| [Tutorial] Creating A GUI [Updated 4/1/2012] |
| << < (11/12) > >> |
| jes00:
--- Quote from: deathrider on April 05, 2012, 10:12:47 AM ---console replys with this error that i cannot fix something about ## console error -snip- i fixed one error and was able to get client.cs to run absolutly rine its just the gui its forgeted its self edit ok so my problem with everything is wtf is ## mean does it want spaces? --- End quote --- You need a ; after the closing brackets in a GUI's code. |
| deathrider:
--- Quote from: jes00 on April 05, 2012, 01:35:31 PM ---You need a ; after the closing brackets in a GUI's code. --- End quote --- Thank you |
| Ipquarx:
What is the function that is called when the value of a slider control changes? I know that you can set the command on the slider and that will be called when you let the mouse go on the control, but that doesn't account for sliding when the mouse is held down. |
| jes00:
--- Quote from: Ipquarx on April 06, 2012, 12:52:47 PM ---What is the function that is called when the value of a slider control changes? I know that you can set the command on the slider and that will be called when you let the mouse go on the control, but that doesn't account for sliding when the mouse is held down. --- End quote --- Tried dump(); and trace(1); but if there is a function for it I cannot find it. |
| jes00:
--- Quote from: Ipquarx on April 06, 2012, 12:52:47 PM ---What is the function that is called when the value of a slider control changes? I know that you can set the command on the slider and that will be called when you let the mouse go on the control, but that doesn't account for sliding when the mouse is held down. --- End quote --- Ok Ipquarx, while I was making a GUI I found that for the slider control the function in the alt command box is called whenever the slider is changed; it is not called when you let go, but when you click it or drag it the function is called. |
| Navigation |
| Message Index |
| Next page |
| Previous page |