Hi

Wie make a tool for churches for making their web pages without any knowledge 
of HTML, images etc.

I use many groups on a card symbolizing the elements of the webpage f.e.

a group with a textfield
one with an image
one with fields organized as table in rows etc.
one with a calender symbol ...

http://animabit.de/pfarrtemplate.de/anichurch001.jpg
http://animabit.de/pfarrtemplate.de/anichurch002.jpg

and the user can reorganize the objects by drag& drop etc.

My little problem: I have a script for selecting the group when clicking on any 
target contained in this group. It does work fine but not with editable 
textfields. When I click with the right mouse on the textfield, the mousedown 
handler works immediately - but the cursor is not in the textfield for typing. 
If I click with the left mouse the cursor is in the field but the mousedown 
handler does not work and the last selected group (for example the one with the 
image) stays selected. My script which does the work:

on mousedown mouseButtonNumber
if the name of the target contains "hintergrund" then
-- do nothing
else
grab the owner of target -- for moving around the group
select control (the owner of target) 
open stack "objektbrowser" as palette
put the short name of the owner of the target into field 1 of stack 
"objektbrowser"
put the typ of the owner of the target into field 2 of stack "objektbrowser"
end if
end mousedown 

I tried the following 

on openfield
mousedown
pass openfield
end openfield

but in this case I could click in the textfield, the mousedown handler worked 
and the group was selected ... but the focus of the cursor in the textfield has 
even been lost (as when clicking with the right mouse).

If I do it manually in 2 steps it is possible => it should be possible by 
programming also. Click
first with the right mouse (= mousedown works and the group is selected) 
second with the left mouse (the cursor is in the field but no mousedown handler 
is sent)
then the group stays selected AND the cursor is in the textfield for further 
typing.

How to do this?

Regards, Franz
Mit freundlichen Grüßen
Franz Böhmisch

[EMAIL PROTECTED]
http://www.animabit.de
GF Animabit Multimedia Software GmbH
Am Sonnenhang 22
D-94136 Thyrnau
Tel +49 (0)8501-8538
Fax +49 (0)8501-8537
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to