Page 1 of 1

problems i'm currently having

Posted: Fri Feb 27, 2009 4:36 am
by shadowslash
here's the list of the problems / situations that i'm having with runtime revolution 3

(PLATFORM: WINDOWS)

where does the documentation for iconMenuPick go? i can't seem to find it..

how do i set it like so that when a user double clicks on the system tray of my application, it detects if it is a right click, a double click, or a single click?

how do i set it like so that when i download a file using the libURLDownloadToFile command, i can retrieve the number of seconds left before it finishes or how do i set the loading bar object to go with the flow of the downloading process?

how do i set whether the check box will be checked or not?

how do i embed files inside the program? i want to do a standalone program which doesn't require my files to be external, like an html page for my browser object... how do i make it so that it is compressed inside the program..

speaking of compression, i'm wondering how do i compress the programs created by Runtime revolution? can i use any 3rd party program packer like UPX? if not, what are the selected compressors that's allowed?

is it possible to set the externals to be inside the program? so that the program will only have one (1) executable file...

all the questions above is only intended for a windows platform.. it's okay if the answers to those questions aren't cross-platform compatible... just windows..

thanks for any answers.. you'll be my savior :cry: [/list][/list]

Posted: Fri Feb 27, 2009 9:29 am
by Mark
where does the documentation for iconMenuPick go? i can't seem to find it..
This is no Revolution issue. Ask the developers of iconMenuPick.
how do i set it like so that when a user double clicks on the system tray of my application, it detects if it is a right click, a double click, or a single click?
The system tray icon has been an unsupported feature for years now. Search the Quality Control Center for "icon menu" and add your votes where applicable. Add a request for recognition of double-clicks etc.
how do i set it like so that when i download a file using the libURLDownloadToFile command, i can retrieve the number of seconds left before it finishes or how do i set the loading bar object to go with the flow of the downloading process?
Use the urlStatus function and write a script to calculate the remaining time from the time used so far. It is a little bit of work, but it is not difficult.
how do i set whether the check box will be checked or not?
Not sure what you mean, but you might want to read up in the docs on the hilite property.
how do i embed files inside the program? i want to do a standalone program which doesn't require my files to be external, like an html page for my browser object... how do i make it so that it is compressed inside the program..
You can include html files in a custom property and set the htmlText property of a browser to that property. If there are pictures in the web page, you should probably first write all the files to a folder and then set the URL of a browser to the path to that folder. You must read the docs about revBrowser.
speaking of compression, i'm wondering how do i compress the programs created by Runtime revolution? can i use any 3rd party program packer like UPX? if not, what are the selected compressors that's allowed?
You might want to use an installer. There are some free installers around. I make them myself with Revolution. I store the files inside the installers after compressing the files with the compress function. Again, you should have searched the docs for "compress".
is it possible to set the externals to be inside the program? so that the program will only have one (1) executable file...
No, this is impossible, although you could store externals in a custom property and write them to disk before loading them. This can be very tricky if you're a starting Revolution programmer.

Please, read the docs.

Best,

Mark