Hi there
ObjectList is used in cunjunction wuth GROUP and SELECT.
But objectList wont go as a variable.
Hee's what I have:
on mouseUp
put number of grps of grp Workarea into X
repeat with i = 1 to X
put grp (GP i) and after oList
end repeat
delete last word of oList
Hi Michael,
The following example works:
select control 1 and control 2
As always: what is the chunk error exactly? When you *mention* getting
an error, you should also *post* this error.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage:
Michael,
Thinking about it again, I believe this simply doesn't work with
variables (=references as strings). It only works with actual
references to objects. You can avoid this problem by using the do
command (which seems a bit ironic, considering a recent thread on the
list).
--
You need to look at the list you are creating,
compare it to the dictionary example (the Select command),
and then fix you code to generate a valid string.
You should not have to use the 'DO' command..
There is no reason to expect it to work as you have written it.
On Jun 21, 2010, at 12:43 AM,
Hi Jim,
Have you actually tried it, keeping the list of references in a
variable while not using the do command?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Subscribe
Ivan,
thanks so much for the quick response. Now I see I find my self between a
rock and a hard place! As I'm using V4Rev, the Rev User Manual says this:
6.4.6Manipulating Unicode – Using UTF-8
While Revolution fields support display of Unicode in UTF-16, Revolution’s
chunk expressions are
A more efficient way of doing this would be to group the buttons and
set the backcolor of each button to empty, then just
set the backcolor of group myBtnGroup to 89,149,218
and all the objects in the group will inherit the backcolor of the
group (as long as they don't have an individual
On Jun 21, 2010, at 6:18 AM, Mark Schonewille wrote:
Hi Jim,
Have you actually tried it, keeping the list of references in a
variable while not using the do command?
You are correct, Mark, the DO command is necessary here.
I got focused on the early errors in the script that mean the
Sorry for the long post. I've now got the last of
my currently-in-use HC stacks running in Rev, so
I'm finally retiring HC/Sheepshaver. This last
stack was huge, a labor of love for 20 years.
It's an address book whose feature set has not
been matched by a commercial application.
Anyway,
On Jun 18, 2010, at 7:32 PM, JosepM wrote:
I have a datagrid inside a group. I add a row and doubleclick to
edit the
cell value, and pressing tab key jump to the next cell. But If I
fill some
value and press tab, the next cell is edit but lost the focus and the
datagrid still in edit mode
Hi all
I have been experiencing problems updating software over the internet.
The update fails unpredictably eventually completing when the code is
put in a try/catch construct. The only unusual thing about the set up
is that I am using Win7 64bit. Has anyone else, using the 64 bit
version of
Hey there,
I have a multi-dimensional array that uses numbers as the first element and
a string as the second.
Like this:
tleaseData[1][TenantName]
tleaseData[1][TenantContact]
What I need to do is loop through each number element and then loop through
each string element. If the data in the
Andrew,
At first glance I think the problem is that if you use repeat for each you
can't make a change to anything inside that loop. You have to kick what you are
changing out to another variable.
This is the main idea:
repeat for each line k in v
if line k is target_line then
put new_line
Hi,
I did not experienced any problems with Windows Vista and 7 64bits,
NativeDoc has few long script and I did not experienced strange things.
Regards,
Damien
NativeSoft, France.
-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
Kk that explains what is going on, but as for a suitable solution. I wanted
to keep it in array form as the database update requires it be in that form,
so a way to reference that with a different loop form or looping method
would be best.
Alternatively, I imagine I could loop through the first
Andrew-
Try
put pNewName into tleaseData[x][i]
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Emmett Gray wrote:
Anyway, there's one feature: the first card is an index of all the cards
in the stack. In HC, all you need to do is start typing and as you add
letters, the selected line changes to reflect what you've typed. When
you get to what you want, you hit return and that takes you
Could someone be so kind as to point me to a checklist on what to do to set up
a domain name on on-rev?
We bought a website name from godaddy and want it to point to a folder on
on-rev.
Specifically, we want www.greatwebsite.com to point to
http://taishan.on-rev.com/good_folder
Thanks to
Hi,
No problems at all there in running, in 24/7 mode, 8 different AI oriented rev
3.5 to 4.0 apps on a window 7 64 bits (core i7 Q720 QuadCore - 8 processes @
1,6 Gh) laptop.
Best,
P.
Le 21 juin 2010 à 19:04, Damien Girard a écrit :
Hi,
I did not experienced any problems with Windows
Hi Michael,
The following example works:
select control 1 and control 2
As always: what is the chunk error exactly? When you *mention* getting
an error, you should also *post* this error.
--
Best regards,
Mark Schonewille
Thanks for the replies:
Here is the error:
TypeChunk: error
Andrew,
the element gives you the content but apparently not the key of the record.
For me:
put pNewName into tLeaseData[x][i]
creates a new subrecord that has the key pOldName and the content pNewName
I tried this and it seems to work
-
repeat with x=1 to the number
Michael,
as Mark and Jim pointed out:
try this
on mouseUp
put into tCollect
repeat with i = 1 to the number of groups of group workarea
put the long id of group i of group workarea and after
tCollect
end repeat
delete last word of tCollect
lock
Getting closer, what this does is put a new element whose key name is the
contents of i and puts pNewName into that element.
So:
Going in:
tleaseData[1][TenantContact] value is Amanda Jo Pence
the element above remains unchanged but a new element like this is made:
pNewName value is Amanda
Hi all,
hm, looks like I missed the explanation why DO has to be involved?!
Anyway, I ususally do this:
on mouseUp
repeat with i = 1 to the number of groups of group workarea
set the SELECTED of grp i of grp workarea to TRUE
end repeat
end mouseUp
Et voila, all objects/groups selected.
Andrew,
Bernd has a much better script for you to peruse, but here might be an
equivalent algorithm for what you want to do:
on mouseUp
put Brazilinto wrong_team
put Argentina into correct_team
put Messi into t[1][name]
put Brazilinto t[1][team]// replace this
put Klose into
Yup yup! Bernd provided exactly what I was looking for.
I knew there was a way to reference it like that, but I had long since
forgotten the last time I had use for it.
Thank you all very much!
--
View this message in context:
Hi Klaus,
I tried some variations but did not think of set the selected
et voilà:
Chapeau!
regards
Bernd
Klaus on-rev wrote:
Hi all,
hm, looks like I missed the explanation why DO has to be involved?!
Anyway, I ususally do this:
on mouseUp
repeat with i = 1 to the number of
Use 2 variables, one to hold the original data, and one to filter and then
display. Each time the filter needs to be updated, put theTableData1 into
theTableData2, then filter theTableData2 and set the dgText of group myDataGrid
to theTableData2.
Bob
On Jun 18, 2010, at 1:42 PM, Mark Stuart
Thanks, Klaus, good work :-)
Now I can finally remember the programming technique I used 4 years
ago, that did not include a DO command !
As I get older, I get slower and fuzzier.
i would add the following line before the loop depending on the
programmer's intent.
On Jun 21, 2010, at
On Mon, Jun 21, 2010 at 1:02 PM, Michael Kann mikek...@yahoo.com wrote:
Could someone be so kind as to point me to a checklist on what to do to set
up a domain name on on-rev?
We bought a website name from godaddy and want it to point to a folder on
on-rev.
Specifically, we want
Just a cursory scan through your handler, without an exhaustive
parsing of the logic...
On Jun 21, 2010, at 10:17 AM, Emmett Gray wrote:
Sorry for the long post. I've now got the last of my currently-in-
use HC stacks running in Rev, so I'm finally retiring HC/
Sheepshaver. This last stack
David,
Thank you very much for the reply. That will help me out immensely.
Mike
--- On Mon, 6/21/10, David C. davidoco...@gmail.com wrote:
From: David C. davidoco...@gmail.com
Subject: Re: How to setup domain name on on-rev
To: How to use Revolution use-revolution@lists.runrev.com
Date:
Hi Trevor,
So in the EditValue left only one?
command EditValue
if there is a field 1 of me then
EditFieldText the long id of field 1 of me, the dgIndex of me, the
dgColumn of me
EditFieldText the long id of field 1 of me, the dgIndex of me, the
dgColumn of me
end if
I'm wondering out loud if someone has written a file system browser
extension. I'm not in the mood to write one myself (remembering my
prior experience with this).
Just looking for something I can drop into my stack that allows the
end user to browse their system looking for images and pass me
Hi Simon,
Do you mean the answer file command? You might want to look it up in
the dictionary.
sample:
answer file Choose a file...
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter:
It sounds like you want the folder of the chosen file so:
answer file Choose a file...
put it into thePath
set the itemdelimiter to / -- for macs. use \ for windows paths
delete the last item of thePath
Bob
On Jun 21, 2010, at 5:12 PM, Mark Schonewille wrote:
Hi Simon,
Do you mean the
Close. What I'm looking for is a field list that shows you all the
files and folders in the stacks current directory. With graphical
representations of files and folders. User can simply click the
folder(s) disclosure icons to expand the view to see what's inside or
doubleclick to display only
Hi Simon,
set the itemDel to slash
put item 1 to -2 of the effective filename of this stack into myPath
set the defaultFolder to myPath
put the files into fld File List
You could add icons by preceding the file name with a special
character and setting the imageSource of char 1 of each line
You can use files() and folders() to get a list of files and folders in the
default directory and then create a combined listing based on this. If
you're happy enough using generic folder and file icons then it's fairly
trivial (a tabbed field with the file and folder icons set using the
Ok, thanks guys. So I guess I'll have to roll my own. :P
On Mon, Jun 21, 2010 at 9:07 PM, Terry Judd t...@unimelb.edu.au wrote:
You can use files() and folders() to get a list of files and folders in the
default directory and then create a combined listing based on this. If
you're happy
On Tue, Jun 22, 2010 at 9:44 AM, Simon Lord sl...@karbonized.com wrote:
I'm wondering out loud if someone has written a file system browser
extension. I'm not in the mood to write one myself (remembering my
prior experience with this).
Just looking for something I can drop into my stack that
Thank you Sarah. :)
On Mon, Jun 21, 2010 at 10:23 PM, Sarah Reichelt
sarah.reich...@gmail.com wrote:
On Tue, Jun 22, 2010 at 9:44 AM, Simon Lord sl...@karbonized.com wrote:
I'm wondering out loud if someone has written a file system browser
extension. I'm not in the mood to write one myself
So I have the following set on preOpenStack:
set the icon of btn iProjects of group iToolbar to 1027
set the icon of btn iEdit of group iToolbar to 1026
set the icon of btn iBrowser of group iToolbar to 1024
Only the first of the three in any given order fires off properly.
The other 2 are
I thought Rev used the UNIX-style '/' delimiter for all internal
paths, regardless of platform?
Ian
On 22 Jun 2010, at 01:24, Bob Sneidar wrote:
set the itemdelimiter to / -- for macs. use \ for windows paths
___
use-revolution mailing list
44 matches
Mail list logo