-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
create new user-defined image
Home > Community > Automation and VBA > create new user-defined image
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 15 Jahren, 10 Monaten von raphael mean aktualisiert.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AutorBeiträge
-
Februar 12, 2009 um 11:43 pm Uhr #12386raphael meanMitglied
Hello,
My question is; Is it possible to create automatically a new user defined image on the “Button Appearance” dialog box for customized image so that I can have as much FaceId as required?
thanks,
Februar 12, 2009 um 11:43 pm Uhr #8069raphael meanMitgliedHello,
My question is; Is it possible to create automatically a new user defined image on the “Button Appearance” dialog box for customized image so that I can have as much FaceId as required?
thanks,
Februar 13, 2009 um 8:24 pm Uhr #8593Bernhard KantzTeilnehmerYou have the possibility to add a user-defined button using VBA.
Dim oBar As CommandBar Set oBar = CommandBars.Add(Name:="Test", _ Position:=fpBarPositionTop, Temporary:=False) oBar.Visible = True Dim picPictureI As IPictureDisp Dim picMaskI As IPictureDisp Set picPictureI = stdole.StdFunctions.LoadPicture("c:\picture\pic.bmp") Set picMaskI = stdole.StdFunctions.LoadPicture("c:\picture\mask.bmp") Dim oButton As CommandBarButton Set oButton = sdfCmdBar.Controls.Add(Type:=fpControlTypeButton) oButton.Picture = picPictureI oButton.Mask = picMaskI
When you run this macro, a new picture is saved in the file ‘userimages.bmp’.
(Vista: C:\Users\s.sattler.IGB\AppData\Local\Weisang\FlexPro\8.0)
Unfortunately, you cannot access an existing user-defined picture using VBA. -
AutorBeiträge
Viewing 3 posts - 1 through 3 (of 3 total)
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.