Ok, so it's been awhile since I needed a custom cursor in a project. Now it seems it's just not working. I develop on a MacBook Pro.
First of all a line of code. I put this into a window's open handler: self.mousecursor=system.cursors.MagnifyLarger Run ... It works. Next I create a resource file using reszilla. It contains exactly one CURS resource with the name 'rotate'. I save that file as 'rotate'. I drag it into the project. I get a project item called 'rotate' that has an icon which looks like my cursor. Yay! I can even double click that thing and get fatbits view of it. Cool. I change the code to: self.mousecursor=rotate Run ... Drum roll please.... I don't get a cursor change. Just stays at the standard pointer? So I build the App. Same thing. I look at the package contents of the app. In the resources folder I find a .rsrc file. I open it and in there is a CURS resource with my cursor. But it has no name. I edit the resource file adding the name back in. Run the app. No change. Back to the IDE I want to try the getCursor() method, even though I'll need this to be x-plat eventually. The autocomplete hinting tells me I need to pass an index - 0? 1?. Check the Language reference... It says to use the resource ID. Makes more sense. So I try that. ID was 256. Run ... Nothing. Build... Nothing. I look at the resource file in the built app again. CURS resource (without name again) has ID 168 now. So I change it to 256. Run the app. Nothing. At this point I'm completely out of bullets. All I want is to create a cross-platform custom cursor. Is this just plain broken in 2007r1???? And if I DO file a bug report - can someone explain to me how it's supposed to work? i.e. I'm developing on mac. Will RB convert my cursor resources so they'll work on windows too? Or do I need to make separate .cur files on Win? If I do, can I drag these .cur files in the Mac IDE an build for WIN? Or will I need a win ide and a separate project? I'm lost. Someone pep me up, please. Thanks, Juergen _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
