Code: Select all
on mouseUp
lock cursor
set the cursor to 1008 -- this is one of images ID
unlock cursor
end mouseUp
I work on Windows 7 with Revolution 4.0, what is the error?
Thanks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp
lock cursor
set the cursor to 1008 -- this is one of images ID
unlock cursor
end mouseUp
Code: Select all
on mouseDown
set the cursor to hand
lock cursor
end mouseDown
on mouseUp
unlock cursor
end mouseUp
Code: Select all
on mouseDown
-- set the cursor to hand
set the cursor to 1008 -- this is one of images ID
lock cursor
end mouseDown
on mouseUp
unlock cursor
end mouseUp
AndyP wrote:1: Try using: set the defaultcursor to 1008
Well, here is a trick. I don't know how you make a transparent png with 32bits. I use PhotoShop.AndyP wrote:2: What type of image is your 1008 cursor image? 32bit transparent PNG works well.
This make an error equal.AndyP wrote:3: Try changing the image id to soething high eg 10000 there may be a hidden conflict with the id 1008?
Livecode 4.5.x allows customized cursors with more sophisticated styles of colors and animations?Klaus wrote:Hi Friends,
with LiveCode 4.5.x RunRev added a more "forgiving" support for curors!![]()
Before that LiveCode was more than "§picky" when it comes to cursors!
One trick to get custom cursors to work is this:
1. Create you cursor as black and white and with tranparency.
2. Save it as GIF or PNG (8 bit)
3. Import that image into your stack
4. Coose any PAINT tool
5. Click ONCE on the image and
6. choose "Undo" immediately.
7. This way LiveCode changes the image type internally and now the cursor should be usable
This is something very difficult for some people who do not have many possibilities, and excuse me for the follow question:Klaus wrote:Or better:
Upgrade to LC 4.5.x![]()
I am just a "user" of the software, so you will need to ask the RunRev company for an answer!This is something very difficult for some people who do not have many possibilities, and excuse me for the follow question:
Why not released at least one version of Revolution, for people of different communities can improve this great project?
It is impossible to provide in terms of improving a project, if you do not have the sources. I do not ask to be released in full, but a version; perhaps the oldest and the latter of Revolution, before changing to LiveCode.
Major companies like Qt has survived we
Sorry.Klaus wrote:I am just a "user" of the software, so you will need to ask the RunRev company for an answer!![]()