I'm not clear with the owner of a control.
I want to get the owner of each icon of all btns of a stack (for cleaning a stack)
I get two different results with the owner of img id (the icon of btn "myBtn")
1. If the cd which contains the image has been not opened, the owner of img id (the icon of btn "myBtn") return the name of the current stack.
2. If the cd which contains the image has been opened, the owner of img id (the icon of btn "myBtn") return the name of the card which contains the image
Is there someone to confirm this understanding ?
Best
Jean-Marc
the owner of img id (the icon of btn "myBtn")
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
the owner of img id (the icon of btn "myBtn")
https://alternatic.ch
Re: the owner of img id (the icon of btn "myBtn")
Hmmm.
I make and save a new stack with two cards. On the second card I place a field. Quit LC. Opening that stack again, in msg:
I get the card as the owner. Is this similar to your setup?
Craig Newman
I make and save a new stack with two cards. On the second card I place a field. Quit LC. Opening that stack again, in msg:
Code: Select all
answer the owner of fld 1 of card 2
Craig Newman
Re: the owner of img id (the icon of btn "myBtn")
Hi Craig,
Yes. I have the same result for:
but the result change with
Result 1: If cd 2 has been not opened = the name of the stack
Result 2: If cd 2 has been opened = the id of the cd where the field is
Jean-Marc
Yes. I have the same result for:
Code: Select all
answer the owner of fld 1 of card 2
Code: Select all
answer the owner of fld id 1007
Result 2: If cd 2 has been opened = the id of the cd where the field is
Jean-Marc
https://alternatic.ch
Re: the owner of img id (the icon of btn "myBtn")
Jean-Marc.
I get the same answer, the card, whether I ask for the ID of that field or its number. This is in a new session, with the test stack opening LC from the finder.
The query comes from the message box or from a button on card 1. OSX 10.6, LC 6.2.2.
Craig
I get the same answer, the card, whether I ask for the ID of that field or its number. This is in a new session, with the test stack opening LC from the finder.
The query comes from the message box or from a button on card 1. OSX 10.6, LC 6.2.2.
Craig
Re: the owner of img id (the icon of btn "myBtn")
Hi Craig,
I want get a list of the used images like icon by btns with two cleaning goals (I dream sometimes about a sweet couple Conchita-Nestor who are working for me)
1. Verify if images used like icon exists
2. Delete images not used like icons
The owner of an id control (without the name of cd) return:
1. The name of the stack if the card where is the control was not opened
2. The card id where is the control if this card was opened
Is it the same for you ?
Jean-Marc
Yes if you give the name of the cd, but not if you use the control short id onlyI get the same answer, the card, whether I ask for the ID of that field or its number
I want get a list of the used images like icon by btns with two cleaning goals (I dream sometimes about a sweet couple Conchita-Nestor who are working for me)
1. Verify if images used like icon exists
2. Delete images not used like icons
The owner of an id control (without the name of cd) return:
1. The name of the stack if the card where is the control was not opened
2. The card id where is the control if this card was opened
Is it the same for you ?
Jean-Marc
https://alternatic.ch