|
| maxscript button text... |
Herbie |
I know how to change a button text and how to update it, how do you make it right aligned?
Say you click a button and you make the file path the text of the button... I always end up with the beginning part of the text and can never see the end of it. How can you see the end and clip off the beginning part?
Visual example.
C:/computer/folder1/fol... to ...lder1/folder2/picture.jpg
read 670 times 3/17/2010 12:26:09 AM (last edit: 3/17/2010 12:26:09 AM)
|
Dub. |
For this type of thing I usually put the path into an editbox. I use dotnet so that you can get the right justifying behaviour that you are after.
dotnetcontrol savePath "System.Windows.Forms.TextBox" width:124 height:14
then when you go to set the text in the box use:
savePath.text = "the\long\and\complicated\filename.dat" savePath.selectionStart = savePath.text.count
result:
There may be a way to do a similar trick with dotnet buttons.
read 662 times 3/17/2010 12:47:03 AM (last edit: 3/17/2010 12:48:33 AM)
|
|
|