Search found 6 matches

by Marken
Tue Aug 16, 2016 6:33 am
Forum: LiveCode Builder
Topic: Mouse event handle for composed widget
Replies: 1
Views: 3787

Mouse event handle for composed widget

i wrote a composed widget which was placed a svgPath widget. But the svgPath widget post mouseDown message with a string argument. post "mouseDown" with [the click button formatted as string] Now I need to handle mouseDown message when use click on my widget. The problem is that the onMouseDown hand...
by Marken
Tue Apr 12, 2016 2:04 am
Forum: LiveCode Builder
Topic: Check file exist after load stack.
Replies: 4
Views: 5420

Re: Check file exist after load stack.

livecodeali wrote:Alternatively you could use LCB's the entries of directory <directory> operator to check if the file exists.
the entries of directory will crash with some path at Windows platform. Other other hand, if the <directory> does not exist and what will happen?
Thank you for your information.
by Marken
Tue Apr 12, 2016 2:01 am
Forum: LiveCode Builder
Topic: Check file exist after load stack.
Replies: 4
Views: 5420

Re: Check file exist after load stack.

livecodeali wrote:Hi Marken,
You could do such a thing in the widget's OnOpen handler.
good, I never test OnOpen() handler. Thank you.
by Marken
Sat Apr 09, 2016 9:42 am
Forum: LiveCode Builder
Topic: Check file exist after load stack.
Replies: 4
Views: 5420

Check file exist after load stack.

I wrote a widget with a property to set image file to show. I don't want to save pixels data of image in stack. Instead, I just save the path information of the image file. So after load stack, the widget need to check if the file exists. Now I use " execute script "return there is a file" " to chec...
by Marken
Thu Apr 07, 2016 2:22 pm
Forum: LiveCode Builder
Topic: How to install the widget package (.lce)
Replies: 3
Views: 4878

How to install the widget package (.lce)

I developed a widget and package it into .lce file.
But I have no idea how to install widget package. Extension builder seems only load .lcb file.
Thanks anyone tell me how to distribute my own widget with .lce package without lcb
by Marken
Fri Apr 11, 2014 4:42 am
Forum: Talking LiveCode
Topic: Design LiveCode layout with CSS Like style
Replies: 0
Views: 2128

Design LiveCode layout with CSS Like style

In recent, I joined a interesting project which use LiveCode to develop some App. UI design and coding must were done at the same time. It is very exhausted either that the coder set the UI properties or the coder wait UI designer to set UI properties. So we developed a plugin to separate two kinds ...