[TIPS] Mouse-wheel field scrolling
Sometimes the tips posted here may be a bit intimidating to folks who are new to LiveCode, so here is a Back-to-Basics one. A simple stack or card script handler to help smooth field scrolling with the mouse-wheel... --| If you already have a rawkeyDown handler in a field, make sure the last --| line is pass rawkeyDown so it is activated higher up the message path --| in your card or stack script. on rawkeyDown tKey constant numOfLines=5 --| Increase/decrease this number as required if field is word 1 of the target then put (the effective textHeight of the target)*numOfLines into tInc if tKey=65309 then set the scroll of (the target to the scroll of the target) - tInc else if tKey=65308 then set the scroll of (the target to the scroll of the target) + tInc else pass rawkeydown end if end rawkeyDown To keep track of all your script goodies, try The Scripter's Scrapbook to build up your own useful coding reminders, tips, tricks and references. You can get a 30-day free copy here... www.ssbk.co.uk Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Newbie -- files are not showing on my WIN Vista desktop
On 17/06/2012 03:09, Mark Rauterkus wrote: With LC 5.5, within the application, I save files (LC stacks) but they are NOT visible when I surf the computer's hard drive from outside of LC. Furthermore, when I create a new folder from within LC, even the new folders are not visible when I browse the computer from outside of LC. The LC files are seen by LC itself, but that's it. There must be some Save As prop that I flipped that made these files vanish from the scene? Object -- Stack Inspector -- Basic Properties has Visible (check) and Can't delete (check). Files do not show in the PCs documents folder, FWIW. I suspect they're being written to the directory contained in 'defaultFolder'. Try setting the defaultFolder, writing your files, and see what happens. put Some junk into tVar set the defaultFolder to specialFolderPath(desktop) put tVar into URL(file:testing.txt) if the result is not empty then answer the result end if This /should/ result in the file 'testing.txt' appearing on your desktop, with some junk in it. If not, it will complain. -Ken ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Meeting
Hallo Mark, Groeten uit frankrijk :) Succes met de meeting morgen. Ben benieuwd naar wat er uit komt. Groet, John On Jun 16, 2012, at 16:16, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi, Just a quick reminder. Tomorrow 17 June at 13:00, eHUG organises a meeting at the King Arthur café, Oudegracht 101-103, Utrecht. Ter herinnering: morgen 17juni om 13:00u. organiseert eHUG een bijeenkomst. Hieronder volgt nog even alle info op een rijtje. Wat: bijeenkomst omtrent LiveCode Waar: King Arthur, Oudegracht 101-103, Utrecht Google Maps: http://qery.us/28p Wanneer: zondag 17 juni 2012 Tijd: van 13:00u. tot uiterlijk 17:00u. Consumpties: voor eigen rekening Voor vragen neem contact op met: eur...@ehug.info Meer info over LiveCode: http://www.runrev.com Nog geen lid van het Nederlandse LiveCode-forum? Registreer je op http://www.runrev.info -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Newbie -- files are not showing on my WIN Vista desktop
Hi Ken and Others, (Happy Fathers Day too!) Thanks. Sorta fixed. What Ken wrote worked. I put the suggested code from Ken into the message box. Fine. File showed up in the desktop as expected. Next, with the same LC project open, do SAVE puts a visible LC project on the desktop too. Wonderful so far. Things work as long as I don't do SAVE AS or SAVE with the LC and direct it into the Comuter / Progams / RunRev / LiveCode 5.5 branches. Perhaps I as a user can not view files nor folders within or under the / programs directory? Permission things. Then, I go to Computer / Programs / RunRev / Livecode 5.5 / June 2012 / and SAVE AS... and that file is NOT visible when I go to look for it without being within LiveCode. Now I can make a working LiveCode folder in my documents folder. So, I save the project outside of the programs directory and can see the LC icon / project as expected. Mark Rauterkus mark.rauter...@gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with Neighborhood Learning Alliance ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On 06/16/2012 11:02 PM, Richmond wrote: On 06/16/2012 10:49 PM, Dr. Hawkins wrote: OK, today's kindergarten question, to which I think I knew the answer once upon a time (but then, i thought that I used to use send some message to every field in this card . . .). I want to be able to leave a field and focus to the next field, just as if tab were hit, from within a script. I've tried sending tab as a message to the field, and sending it to the card with a tick delay. Surely this is easy . . . I have just made a merry little stack with 3 fields all in a row. And a button containing this script: on mouseUp put the id of the focusedObject into fOB put (fOB + 1) into fOB focus on fld id fOB on mouseUp and, oddly enough, it shifts the focus down the line of fields, one per click. Have a lovely weekend. Richmond. However, I haven't had such a super weekend as something began to niggle at my mind last night: What if the sequence of fields is interupted by a button or other control? Tried this and had NO JOY: on mouseUp put the id of the focusedObject into fOB repeat until control id fOB is a field put (fOB + 1) into fOB end repeat focus on fld id fOB on mouseUp the 'repeat' line threw a bluey (is: bad validation type) replaced 'is' with '=' . . . same old sh*t. What am I missing? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unable to install livecode on Linux, why?
I'm posting from nabble, and that seems only to have whatever version of the list this is going to. Is there some other service that has the right new address? If so I will use it. On the install issue, it may well be 32bit libs. On a 32bit Debian install, it went in just fine. Is it possible to run it as a portable app, from a USB stick? If so, how? My first attempts at this are failing. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Unable-to-install-livecode-on-Linux-why-tp4650672p4650765.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On Sat, Jun 16, 2012 at 1:02 PM, Richmond richmondmathew...@gmail.com wrote: I have just made a merry little stack with 3 fields all in a row. And a button containing this script: on mouseUp put the id of the focusedObject into fOB put (fOB + 1) into fOB focus on fld id fOB on mouseUp and, oddly enough, it shifts the focus down the line of fields, one per click. Thanks. This actually solves another coming issue :) I'm using a combobox to load a hidden field. It can either be pulled down, text entered, or a hotkey typed. When they pull down, and particularly when they hit a hotkey, I want the cursor to move to the next field as if a tab were hit inside a text field. It needs to be next rather than a specific field, because some fields are hidden and reappear depending upon context. I tried type tab which created an infinite loop . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
set tab widths on combo box
Is there a way to set the tab widths on a combo box? I'm getting a no property specified error when I try set the the tab widths of button exTyp to 3 of Error description: Properties: token is not a property The default stops are way to large for a 1 char hotkey, and there's enough variation in length of the second item I put in there that the thirds don't line up. I've tried using spaces, but it's not using a monospaced font (and putting these two things into monospace would be ugly!) -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On Sun, Jun 17, 2012 at 7:07 AM, Richmond richmondmathew...@gmail.com wrote: Tried this and had NO JOY: on mouseUp put the id of the focusedObject into fOB repeat until control id fOB is a field put (fOB + 1) into fOB end repeat focus on fld id fOB on mouseUp was this an end the 'repeat' line threw a bluey (is: bad validation type) replaced 'is' with '=' . . . same old sh*t. What am I missing? did you cycle past the number of objects? if fOB the number of objects then fOB=1 ? -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
Hi, on closefield focus on fld x end closefield on exitfield closefield end exitfield -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 16 jun. 2012 om 21:49 heeft Dr. Hawkins doch...@gmail.com het volgende geschreven: OK, today's kindergarten question, to which I think I knew the answer once upon a time (but then, i thought that I used to use send some message to every field in this card . . .). I want to be able to leave a field and focus to the next field, just as if tab were hit, from within a script. I've tried sending tab as a message to the field, and sending it to the card with a tick delay. Surely this is easy . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On Sun, Jun 17, 2012 at 8:06 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: on closefield focus on fld x end closefield The catch, though, is that I don't necessarily know what fld X is at the time I write--fields get hidden and unhidden depending upon context. This is why I'd like to have a tab sent somewhere (I liked the send tab to me in 1 approach, but it doesn't seem to do anything) -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
Hi Richard, Am 17.06.2012 um 17:01 schrieb Dr. Hawkins: Is there a way to set the tab widths on a combo box? I'm getting a no property specified error when I try set the the tab widths of button exTyp to 3 the correct term is the tabstops of ... But I doubt that buttons can have tabstops at all in their displayed text! Usually a TAB in the TEXT of a menubutton will create a submenu. of Error description: Properties: token is not a property The default stops are way to large for a 1 char hotkey, and there's enough variation in length of the second item I put in there that the thirds don't line up. I've tried using spaces, but it's not using a monospaced font (and putting these two things into monospace would be ugly!) -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On Sun, Jun 17, 2012 at 8:15 AM, Dr. Hawkins doch...@gmail.com wrote: The catch, though, is that I don't necessarily know what fld X is at the time I write--fields get hidden and unhidden depending upon context. This is why I'd like to have a tab sent somewhere (I liked the send tab to me in 1 approach, but it doesn't seem to do anything) Hmm, just by coincidence, the two fields I'm doing this for now are part of groups that do indeed have a known next field. But this is going to come up again, so I'm still curious. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
On Sun, Jun 17, 2012 at 8:17 AM, Klaus on-rev kl...@major.on-rev.com wrote: Is there a way to set the tab widths on a combo box? I'm getting a no property specified error when I try set the the tab widths of button exTyp to 3 the correct term is the tabstops of ... set the tabstops of btn prtyp of card entry to 20, 40 yields Script compile error: Error description: seek: missing 'in' But I doubt that buttons can have tabstops at all in their displayed text! Usually a TAB in the TEXT of a menubutton will create a submenu. This is a combo-box. It's *using* tabstops of its own when I put a couple of tab-delimited values into a single line of its text. I want to change them. thanks -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Newbie -- files are not showing on my WIN Vista desktop
Just sounds like permissions from hell kinda problem. Have your administrators set up permissions for a LAN? Ar eyou running with an account that does not have administrative privs? In either of these cases, you need to figure out where you have permissions and only save there. I guess that sorta sounds like common sense, but there it is. -Ken On 17/06/2012 14:57, Mark Rauterkus wrote: Thanks. Sorta fixed. What Ken wrote worked. I put the suggested code from Ken into the message box. Fine. File showed up in the desktop as expected. Next, with the same LC project open, do SAVE puts a visible LC project on the desktop too. Wonderful so far. Things work as long as I don't do SAVE AS or SAVE with the LC and direct it into the Comuter / Progams / RunRev / LiveCode 5.5 branches. Perhaps I as a user can not view files nor folders within or under the / programs directory? Permission things. Then, I go to Computer / Programs / RunRev / Livecode 5.5 / June 2012 / and SAVE AS... and that file is NOT visible when I go to look for it without being within LiveCode. Now I can make a working LiveCode folder in my documents folder. So, I save the project outside of the programs directory and can see the LC icon / project as expected. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
Am 17.06.2012 um 18:02 schrieb Dr. Hawkins: On Sun, Jun 17, 2012 at 8:17 AM, Klaus on-rev kl...@major.on-rev.com wrote: Is there a way to set the tab widths on a combo box? I'm getting a no property specified error when I try set the the tab widths of button exTyp to 3 the correct term is the tabstops of ... set the tabstops of btn prtyp of card entry to 20, 40 yields Script compile error: Error description: seek: missing 'in' Yes, see below... But I doubt that buttons can have tabstops at all in their displayed text! Usually a TAB in the TEXT of a menubutton will create a submenu. This is a combo-box. It's *using* tabstops of its own when I put a couple of tab-delimited values into a single line of its text. I want to change them. Yes, sorry, I forgot to mention that the tabstops of... is a FIELD property (only), not a button property! See the dictionary. So you can put TABbed text into these button(s) but you cannot control the display. thanks -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Where do you save preferences?
Hi Richard, It seems that the HIG and the Mac App Store requirements are at odds for some reason. Here's what the OS X Developer Library Submitting To The App Store document has to say. Note there's no mention of the Preferences folder. - *Your application may write to the following directories:* - *~/Library/Application Support/app-identifier* - *~/Library/app-identifier* - *~/Library/Caches/app-identifier* *where app-identifier is your application's bundle identifier, its name, or your company’s name. This must exactly match what is in iTunes Connect for the application* An application can also write to the ~/Pictures, ~/Movies, and ~/Music folders and any directory that the user expicilty requests in a Save dialog. I haven't personally submitted to the App store but I've been told by people that have that their app was refused beacuse they weren't adhering to the above requirements. Why Apple should suddenly decide it's not OK to write preferences files to the Preferences folder is beyond me, maybe these locations are more in line with how things work on iPhone/iPad? Of course, if you're not planning on submitting to the MAS, then I imagine there's nothing to stop you following the HIG. Pete lcSQL Software http://www.lcsql.com On Sat, Jun 16, 2012 at 5:20 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Peter Haworth wrote: Surprisingly, the Mac App Store will get rejected if you put stuff in the users home/Preferences folder. I believe the difference there is installation vs. runtime. The OS X HIG clearly notes that files in the Preferences folder is for user-generated data. As such, your app should never need to install anything there, but of course will need to write there at runtime when the user makes changes in your app's Preferences window. If you need to install data for your app in a user-writable folder, the HIG suggests using the Application Data folder for that. In short, the Preferences folder is the same as it's always been, with the Application Support folder also available for non-user-generated data. AFAIK, the only difference now is that Apple is finally enforcing the guidelines they've been publishing for the last decade. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
You might read the article here. http://www.runrev.com/newsletter/march/issue87/newsletter4.php It details a custom built combo box. The link to the example is no longer valid, but a copy of it can be found at http://www.imksoftware.co.uk/JDCombobox.zip (I found this link at http://lists.runrev.com/pipermail/use-livecode/2011-August/160235.html . Since it uses a real field for the custom control you should be able to set the tabstops to your hearts content, plus it looks and works very well. Jerry puts together good stuff. On Sun, Jun 17, 2012 at 10:24 AM, Klaus on-rev kl...@major.on-rev.comwrote: Am 17.06.2012 um 18:02 schrieb Dr. Hawkins: On Sun, Jun 17, 2012 at 8:17 AM, Klaus on-rev kl...@major.on-rev.com wrote: Is there a way to set the tab widths on a combo box? I'm getting a no property specified error when I try set the the tab widths of button exTyp to 3 the correct term is the tabstops of ... set the tabstops of btn prtyp of card entry to 20, 40 yields Script compile error: Error description: seek: missing 'in' Yes, see below... But I doubt that buttons can have tabstops at all in their displayed text! Usually a TAB in the TEXT of a menubutton will create a submenu. This is a combo-box. It's *using* tabstops of its own when I put a couple of tab-delimited values into a single line of its text. I want to change them. Yes, sorry, I forgot to mention that the tabstops of... is a FIELD property (only), not a button property! See the dictionary. So you can put TABbed text into these button(s) but you cannot control the display. thanks -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
Since you already have already have code to hide/reveal fields depending on context, isn't it possible to detrrmine which field needs to have focus in that same logic and use a focus on field x command? Pete lcSQL Software http://www.lcsql.com On Sun, Jun 17, 2012 at 8:58 AM, Dr. Hawkins doch...@gmail.com wrote: On Sun, Jun 17, 2012 at 8:15 AM, Dr. Hawkins doch...@gmail.com wrote: The catch, though, is that I don't necessarily know what fld X is at the time I write--fields get hidden and unhidden depending upon context. This is why I'd like to have a tab sent somewhere (I liked the send tab to me in 1 approach, but it doesn't seem to do anything) Hmm, just by coincidence, the two fields I'm doing this for now are part of groups that do indeed have a known next field. But this is going to come up again, so I'm still curious. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On Sun, Jun 17, 2012 at 10:05 AM, Peter Haworth p...@lcsql.com wrote: Since you already have already have code to hide/reveal fields depending on context, isn't it possible to detrrmine which field needs to have focus in that same logic and use a focus on field x command? If I went to a good-sized loop/compare, yes. My fields/controls come and go in blocks. If nothing else, I suppose I could creagte a table of the visible field names ids, and circle around that, but it's so inelegant compared to passing a single message . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
On Sun, Jun 17, 2012 at 9:24 AM, Klaus on-rev kl...@major.on-rev.com wrote: Yes, sorry, I forgot to mention that the tabstops of... is a FIELD property (only), not a button property! See the dictionary. Yeah, but this is one that combo boxes *should* have for their field-like behavior . . . :) More seriously, I would expect that the specific use that I'm making would be quite common. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set tab widths on combo box
it's gotchas like this that have caused me to make my own custom controls. One can make those work exactly for the task at hand. here's a custom control I made back in 2007 in Revolution/Livecode. Inspired by a Ken Ray presentation at Revcon 2. http://houseofcubes.com/examples/trioPanel.png On Sun, Jun 17, 2012 at 12:25 PM, Dr. Hawkins doch...@gmail.com wrote: On Sun, Jun 17, 2012 at 9:24 AM, Klaus on-rev kl...@major.on-rev.com wrote: Yes, sorry, I forgot to mention that the tabstops of... is a FIELD property (only), not a button property! See the dictionary. Yeah, but this is one that combo boxes *should* have for their field-like behavior . . . :) More seriously, I would expect that the specific use that I'm making would be quite common. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
On 6/17/12 10:15 AM, Dr. Hawkins wrote: On Sun, Jun 17, 2012 at 8:06 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: on closefield focus on fld x end closefield The catch, though, is that I don't necessarily know what fld X is at the time I write--fields get hidden and unhidden depending upon context. This is why I'd like to have a tab sent somewhere (I liked the send tab to me in 1 approach, but it doesn't seem to do anything) The syntax is tabkey: send tabkey to fld x I'm not sure it will work, field behavior may depend on a physical keypress, but try it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Newbie -- files are not showing on my WIN Vista desktop
On 6/17/12 8:57 AM, Mark Rauterkus wrote: Things work as long as I don't do SAVE AS or SAVE with the LC and direct it into the Comuter / Progams / RunRev / LiveCode 5.5 branches. You may be seeing the behavior described here: http://www.sonsothunder.com/devres/livecode/tips/env007.htm -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
This should get you headed in the right direction In normal fields: on closeField goNextUseableField the number of me end closeField on exitField goNextUseableField the number of me end exitField In the Card Script: (watch for line wraps) on goNextUseableField pNum put the number of flds of this stack into tMax repeat if (pNum = tMax) then put 1 into pNum else add 1 to pNum end if if ((the visible of fld pNum is true) and \ (the enabled of fld pNum is true)) then focus on fld pNum exit repeat end if end repeat end goNextUseableField NOTE: I tested this and it worked fine on Normal fields but not Scrolling List fields. It would appear that closeField is not sent to Scrolling List fields. This should not be insurmountable as other messages are available. This is certainly a lot easier than trying to keep track of which fields are visible/enabled and which aren't. HTH On Mon, Jun 18, 2012 at 3:23 AM, Dr. Hawkins doch...@gmail.com wrote: On Sun, Jun 17, 2012 at 10:05 AM, Peter Haworth p...@lcsql.com wrote: Since you already have already have code to hide/reveal fields depending on context, isn't it possible to detrrmine which field needs to have focus in that same logic and use a focus on field x command? If I went to a good-sized loop/compare, yes. My fields/controls come and go in blocks. If nothing else, I suppose I could creagte a table of the visible field names ids, and circle around that, but it's so inelegant compared to passing a single message . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sending focus to next field
Sorry, this: put the number of flds of this stack into tMax should have read: put the number of flds of this CARD into tMax I have become too accustomed to using single card stacks. On Mon, Jun 18, 2012 at 9:07 AM, Kay C Lan lan.kc.macm...@gmail.com wrote: This should get you headed in the right direction In normal fields: on closeField goNextUseableField the number of me end closeField on exitField goNextUseableField the number of me end exitField In the Card Script: (watch for line wraps) on goNextUseableField pNum put the number of flds of this stack into tMax repeat if (pNum = tMax) then put 1 into pNum else add 1 to pNum end if if ((the visible of fld pNum is true) and \ (the enabled of fld pNum is true)) then focus on fld pNum exit repeat end if end repeat end goNextUseableField NOTE: I tested this and it worked fine on Normal fields but not Scrolling List fields. It would appear that closeField is not sent to Scrolling List fields. This should not be insurmountable as other messages are available. This is certainly a lot easier than trying to keep track of which fields are visible/enabled and which aren't. HTH On Mon, Jun 18, 2012 at 3:23 AM, Dr. Hawkins doch...@gmail.com wrote: On Sun, Jun 17, 2012 at 10:05 AM, Peter Haworth p...@lcsql.com wrote: Since you already have already have code to hide/reveal fields depending on context, isn't it possible to detrrmine which field needs to have focus in that same logic and use a focus on field x command? If I went to a good-sized loop/compare, yes. My fields/controls come and go in blocks. If nothing else, I suppose I could creagte a table of the visible field names ids, and circle around that, but it's so inelegant compared to passing a single message . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
lcTaskList Plugin 1.0rc2 Released
I've released the second open beta release candidate of the Task List plugin for LiveCode for download. What's New: Color banding in the list (thanks to Bernd Niggemann for this) Preferences for color banding and font size Preference to exclude specified stacks from being indexed Preference to view entire description in a tooltip. This is useful if you have the lcTaskList window very narrow Thanks for the recent use-list discussion of where to save the preference file. This version saves a new prefs file called lcTaskList.prefs in the appropriate places on Macintosh, Windows, and Linux. Any previous preferences will be ignored and need to be entered again. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode