You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@openoffice.apache.org by "technik_div@jrsch.de" <te...@jrsch.de> on 2022/01/10 17:21:15 UTC
Ansprechen von Comandbutton per Marko
Hallo,
ich schaffe es eine Schaltfläche anzusprechen:
Mycb=CreateUnoDialog(Dialoglibraries.Standard.Dialog2).GetControl("cbESC")
danach mit xray untersucht.
Aber ich möchte die Eigenschaften ändern, sichtbarkeit und Enable.
Mycb.Model.setPropertyValue("EnableVisible",false)
Mycb.setVisible(false)
Mycb.Model.Enabled =false
Mycb.Model.BackgroundColor =&h313333
Mycb.setvisible(true)
Dies und anderes habe ich probiert, aber ohne Erfolg. Was mache ich falsch?
Ich habe ehrlich gesagt auch nicht ganz das Konzept von .model verstanden.
Horst
---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-de-help@openoffice.apache.org