How to write a VERY simple server?

2005-08-24 Thread Gajo Csaba
Hi, I started learning Revolution today, though I have been programming in other languages such as Java for many years before. What I'd like to do is create a simple chat program. I managed to write the client part and send a message to a Java server application, but I just cannot build a se

Re: How to write a VERY simple server?

2005-08-24 Thread Gajo Csaba
Mark Wieder <[EMAIL PROTECTED]> wrote: > > Try something like this... > Wow that was a quick reply. OK, it still doesn't work for some reason. My only clue now is that I've made a stupid mistake somewhere. This is the code when I click on the "Send message" from the client's side. on mouse

Two very simple questions

2005-08-25 Thread Gajo Csaba
Hi, I have two simple questions about Revolution. 1) I'm in the process of developing an application. I put all the buttons, create a complex GUI, and write the Close button's script as close stack "myStack" OK, now I want to test if this really works. So I switch to the testing mode, and cl

RE: Two very simple questions

2005-08-25 Thread Gajo Csaba
"Lynch, Jonathan" <[EMAIL PROTECTED]> írta: > If you have not yet closed your IDE, then go into the application browser and see if your stack is still there. > > It should be, unless you set the destroywindow and destroystack properties of the stack to true. Ah yes, there it is. Aaargh, I ha

How to accept a drag&drop item?

2005-08-25 Thread Gajo Csaba
Hi, I was wondering if there's an easy solution to accepting dragged items that are coming from another application. Specifically, I have a browser window open, and from there I can drag the current link. If I drop it on the desktop, it will turn into a link to that page. And when it gets dr

Re: How to accept a drag&drop item?

2005-08-25 Thread Gajo Csaba
Brian Yennie <[EMAIL PROTECTED]> wrote: > Csaba, > > Well, you can do it with two lines of code, or none =). > > If you use an unlocked text field, it just works by default. I drag a > link from FireFox to an editable field, and the URL appears. WOW, I didn't know that! That's amaizing! It

Re: How to accept a drag&drop item?

2005-08-25 Thread Gajo Csaba
Brian Yennie <[EMAIL PROTECTED]> wrote: > > WOW, I didn't know that! That's amaizing! > > It does work from FireFox, unfortunately it won't work when dragged > > from Opera.. oh well... > > Try this: > > on dragDrop > answer keys(the dragData) > end dragDrop > > That should tell you what

Re: Two very simple questions

2005-08-26 Thread Gajo Csaba
Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just o

How to pass a message to a substack (or back)?

2005-08-26 Thread Gajo Csaba
Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tr

How to open an image file?

2005-08-28 Thread Gajo Csaba
Hi, I just want to load a simple image from a file. I'm using Windows. So far I've tried these, but the image was not loaded: put URL "binfile:/C:/image.gif" into image "displayImage" put URL "binfile:/C://image.gif" into image "displayImage" put URL "C:/image.gif" into image "displayImage" Wh