DX Tutorial what do you want to see?
Ex:
How do i make a simple clock?
How do you make a Folder Object?
What is a Group?
How do you store settings in DX?
Etc?
Please be detailed, it can help.
Stardock will be closed for the week starting on Monday, June 29th and we will be returning on Monday, July 6th. We will be monitoring support tickets and forums during this time but expect delays in responses during this time.
System.DownloadFile(remoteUrl, localPath, bAsync)
System.SendRequest(remoteUrl, postParams, bAsync)
System.SimpleWrite(path, content, param)
System.SimpleRead(path, param)

Make a new object
make its state "TEXT" and add the following to the script:
|
Sub
Object_OnScriptEnter object.text = "system.ScreenHeight: " & system.ScreenHeight & vbnewline object.text = object.text & "system.ScreenWidth: " & system.ScreenWidth & vbnewline object.text = object.text & "system.ScreenWidth: " & system.ScreenWidth & vbnewline object.text = object.text & "system.VScreenHeight: " & system.VScreenHeight & vbnewline object.text = object.text & "system.VScreenLeft: " & system.VScreenLeft & vbnewline object.text = object.text & "system.VScreenTop: " & system.VScreenTop & vbnewline object.text = object.text & "system.VScreenWidth: " & system.VScreenWidth & vbnewline End Sub |
Save and see with it shows.
The VScreen is used for multiple
monitors.
With these you can always know what the screen width and height are.
These can be used to determine where to place items, ie.
| Object.left = system.width - object.width 'will move the object to the right side of the screen, no matter what the res is. |
You can also add
|
Sub
System_OnScreenChange Object.left = system.width - object.width Object.height = system.height End sub |
WORKAREA changes is a result of screen resolution changes or taskbar resize
|
Sub
System_OnWorkareaChange Object.Width = System.ScreenWidth - 350 End Sub |
Hope this helps with this one.
Welcome Guest! Please take the time to register with us.