Search found 8 matches

by TommiG
Fri Dec 16, 2011 10:47 am
Forum: Windows
Topic: Autosizing does not work in Win-Standalone
Replies: 7
Views: 6480

Re: Autosizing does not work in Win-Standalone

So if you try to affect the visual placement of objects before they're even shown your code won't have any effect But I don't write any code which affects the visual placement of anything. The only thing I did was to read from an external file using "revCreateXMLTreeFromFile". Nothing else. I think...
by TommiG
Thu Dec 15, 2011 12:24 pm
Forum: Windows
Topic: Autosizing does not work in Win-Standalone
Replies: 7
Views: 6480

Re: Autosizing does not work in Win-Standalone

The strange story goes on... After I copied my scripts over to the new created stack, the autosizing feature stops working again!!! :shock: But I dont implement any resizing handlers. Why it stops working??? So I removed handlers one by one and checked when the autoresizing feature comes back. Then ...
by TommiG
Thu Dec 15, 2011 9:56 am
Forum: Windows
Topic: Autosizing does not work in Win-Standalone
Replies: 7
Views: 6480

Re: Autosizing does not work in Win-Standalone

But I'd stay away from the built-in geometry management and just write your own handlers. It's not that difficult, you'll have more control over what happens, and you won't end up with surprises like this. (well, you might, but they'll be your own doing and therefore fixable). Sure, as a C++ MFC pr...
by TommiG
Wed Dec 14, 2011 6:27 pm
Forum: Windows
Topic: Autosizing does not work in Win-Standalone
Replies: 7
Views: 6480

Re: Autosizing does not work in Win-Standalone

Dear Mark, now I created a completely new stack, had the old and the new stack side by side, added again the same controls, did the same settings in the Geometry and now it works. Really, really strange. The only thing to do is to copy over the code. I hope this does not happen again, specialy with ...
by TommiG
Wed Dec 14, 2011 5:21 pm
Forum: Windows
Topic: Autosizing does not work in Win-Standalone
Replies: 7
Views: 6480

Autosizing does not work in Win-Standalone

Dear colleagues, I designed a quite simple stack with only one card and 9 controls in it. I used the Geometry-pane in the Inspector to set the automatic resizing and position features for the controls. Resizing works fine in the LiveCode IDE but when I create a standalone Windows version the control...
by TommiG
Tue Dec 06, 2011 12:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: send command and comma in parameter
Replies: 5
Views: 4561

Re: send command and comma in parameter

Dear Dixie,

I tried

Code: Select all

on mouseUp
   put "myStangelyFormatted, fileName.jpg" into theFile
   dispatch "loadFromFile" to image "myImg" with theFile
end mouseUp
and this works now!!!
Thank you very much for your help.
Have a nice day.
Best regards,
Thomas
by TommiG
Tue Dec 06, 2011 10:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: send command and comma in parameter
Replies: 5
Views: 4561

Re: send command and comma in parameter

Dear Dixie, thank for you answer. But calling a command in the message path is not really a problem. But my command is not in the message path. It is in another control. Therefore I have to use "send". In my button script on mouseUp put "myStangelyFormatted, fileName.jpg" into theFile send "loadFrom...
by TommiG
Tue Dec 06, 2011 10:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: send command and comma in parameter
Replies: 5
Views: 4561

send command and comma in parameter

Dear colleagues, I am new in the LiveCode universe, please forgive me, but found a problem I don't know how to handle. I wrote a simple command "LoadFromFile" which accepts a valid file name in an image control. When I like to use it inside a Button onMouseup handler and have to call it outside of t...