Re: How to put a new object to become a background object?

2011-11-16 Thread Takashi Yoshino
Thank you! It works well. I'm sorry for a very beginner's question… _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ On 2011/11/15, at 21:20, Mark Schonewille wrote: Hi Yoshino, Select the group, choose

Re: How to put a new object to become a background object?

2011-11-16 Thread Alejandro Tejada
Hi, Mr. Yoshino 吉野 孝 wrote: Thank you! It works well. I'm sorry for a very beginner's question… Actually, every person that works in the computer field, feels like a beginner one or more times every day or so. There are so many new devices and softwares that our sense of wonder never

Database Strategy

2011-11-16 Thread mike
I am new to the world of databases and I need some advise. I am currently opening and closing the database in the open and close stack handlers. I am storing the connection I'd in a custom stack property. When I go to a card, I am creating a cursor, directly loading each record into the

Re: Database Strategy

2011-11-16 Thread Pete
Sounds like the problem is that you close the cursor when the card is closed. From that point, it's not a valid cursor, as you're finding when you return to the card. When you return to the card, you'd need to either leave the cursor open or re-execute the SELECT statement that created it.

Re: Re : Wasting space on the forum.

2011-11-16 Thread Richmond
On 11/16/2011 03:43 PM, Peter M. Brigham, MD wrote: On Nov 15, 2011, at 11:24 AM, Mark Wieder wrote: Richmond- Tuesday, November 15, 2011, 2:52:03 AM, you wrote: I like to inter I'm a *real* trouble right-on, boyo . . . :) maker. polate. ...troublemaker... -- Peter Peter M.

Number of Controls - Application Browser vs. Script

2011-11-16 Thread Glen Bojsza
I have a stack with a single card and several objects that I have placed on it ... including a datagrid. In the application browser it shows 58 controls for the card (all the ones I expected). From script put the number of controls of card 1 of this stack I get 202 controls (which I would

Re: Number of Controls - Application Browser vs. Script

2011-11-16 Thread Ian Wood
You might be able to filter the long ids of the controls to exclude ones contained by the datagrid group. Ian On 16 Nov 2011, at 20:14, Glen Bojsza wrote: I have a stack with a single card and several objects that I have placed on it ... including a datagrid. In the application browser it

Re: Database Strategy

2011-11-16 Thread Michael Doub
The potential size of the database is causing me to drive the database by loading the data grid by catching command GetDataForLine pLine, @pOutData. On the first execution thru the OpenCard handler everything works just fine. On subsequent calls the OpenCursor routine is never executed. The

Re: Number of Controls - Application Browser vs. Script

2011-11-16 Thread Pete
Hi Glen, I haven't found a way to exclude them from being returned by any of the standard methods of looping through the controls in a script but I have managed to identify which controls are part of the datagrid. If it helps, you can see the structure of a datagrid by selecting it, then in the

Re: Number of Controls - Application Browser vs. Script

2011-11-16 Thread Pete
PS to my post. You can, of course, look for the datagrid name in the long name of the control as Ian suggested. In my case, I had an interest in gathering information about some of the controls so I had to be a bit more granular than that. Pete Molly's Revenge http://www.mollysrevenge.com On

Re: Database Strategy

2011-11-16 Thread Pete
Yes, that is strange. I did find this in the datagrid manual: When a Data Grid renders it dynamically creates fields and accesses certain properties. Some of these properties can not be properly reported by the Revolution engine unless the field is on an open card. Your code is in OpenCard so

Running a script after pasting text

2011-11-16 Thread James Hurley
Is there a message I might trap to run a script after pasting text into a field? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Number of Controls - Application Browser vs. Script

2011-11-16 Thread zryip theSlug
On Wed, Nov 16, 2011 at 9:14 PM, Glen Bojsza gboj...@gmail.com wrote: I have a stack with a single card and several objects that I have placed on it ... including a datagrid. In the application browser it shows 58 controls for the card (all the ones I expected). From script put the number

Re: Number of Controls - Application Browser vs. Script

2011-11-16 Thread Glen Bojsza
Yes it looks like I would need to create a filter to account for all the datagrid objects... this would work but I will have to remember never to create a group that starts with dg. thanks. On Wed, Nov 16, 2011 at 2:39 PM, Pete p...@mollysrevenge.com wrote: Hi Glen, I haven't found a way to

Re: Running a script after pasting text

2011-11-16 Thread Mark Schonewille
James, You can catch messages such as commandKeyDown, pasteKey and rawKeyUp. You could also write a script in the Edit button of the Menubar group, which runs whenever the Paste item is selected. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage:

Re: Re : Wasting space on the forum.

2011-11-16 Thread AndyP
Talking about troble makers. Q? Is not this thread wasting forum space? Oh darn it, justed wasted some more... - Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder.

Re: Auto-numbering in a field

2011-11-16 Thread AcidJazz
Thanks Devin! You've helped me twice now in as many weeks. Much appreciated. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4078184.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Auto-numbering in a field

2011-11-16 Thread AcidJazz
I didn't even think to use a script in the message box as both you and Devin and others all suggested. I was just trying to edit within the properties inspector. Your approach works. Thanks. Mark -- View this message in context:

Re: Re : Wasting space on the forum.

2011-11-16 Thread Peter M. Brigham, MD
On Nov 16, 2011, at 5:29 PM, AndyP wrote: Talking about troble makers. Q? Is not this thread wasting forum space? Oh darn it, justed wasted some more... Dialog on free will: Q: Are you going to finish reading this dialog? A: As a matter of fact, I think I'll read it again. -- Peter

revOnline Problem

2011-11-16 Thread Pete
Has anyone tried uploading a stack to revOnline recently? I've been trying unsuccessfully for about a week. I select a stack to upload, fill in the title and description, click Save Changes. The screen dims, I get an Uploading message in the status bar and that's the way it stays. Pete Molly's

File types and icons?

2011-11-16 Thread Keith (Gulf Breeze Ortho Lab)
Hello All, Please excuse my ignorance, but is there a way to put a list of files in a datagrid in a way to include the default icon for each file type? For example, if I put a list of files from a directory into a datagrid, is there a way to include a .pdf icon for each .pdf file, a text icon

Re: revOnline Problem

2011-11-16 Thread J. Landman Gay
On 11/16/11 4:52 PM, Pete wrote: Has anyone tried uploading a stack to revOnline recently? I've been trying unsuccessfully for about a week. I select a stack to upload, fill in the title and description, click Save Changes. The screen dims, I get an Uploading message in the status bar and

Re: Re : Wasting space on the forum.

2011-11-16 Thread Roger Eller
On Wed, Nov 16, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: On Nov 16, 2011, at 5:29 PM, AndyP wrote: Talking about trouble makers. Dialog on free will: Q: Are you going to finish reading this dialog? A: As a matter of fact, I think I'll read it again. -- Peter Peter M. Brigham

Re: Re : Wasting space on the forum.

2011-11-16 Thread Pete
Exactly, well said Roger! All this is a matter of personal preference and there is so much knowledge in so many areas of expertise on this list that I will gladly search through as much quoted text as someone wants to include if it means I can add another nugget of LC knowledge to my collection.