Re: [libreoffice-users] Base Form Q: Default a field from a macro

2013-02-07 Thread Fernand Vanrie

Adam ,

do the macro run by a event from the field

sub runfromevent(oevnt)
' the field

ofield =oevnt.source
 etc.

hope it helps

fernand


Is it possible to assign a form control [field] a default value from a
Macro?

I need to have a field that defaults to a value generated by calling a
macro [function].
'



--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] Base Form Q: Default a field from a macro

2013-02-07 Thread Adam Tauno Williams
Is it possible to assign a form control [field] a default value from a
Macro?

I need to have a field that defaults to a value generated by calling a
macro [function].
'
-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA


-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted