Cambios en RibbonBar en tiempo de ejecución

Post Reply
nicinf
Posts: 13
Joined: Thu Oct 25, 2018 7:26 am

Cambios en RibbonBar en tiempo de ejecución

Post by nicinf »

RibbonBar:
Se puede cambiar el prompt en tiempo de ejecución???
Se puede eliminar un grupo y/o un botón en tiempo de ejecución???

ADD GROUP oOp5Gr2 RIBBON oRBar TO OPTION SoftFiscal PROMPT "GruposSeleccionados" WIDTH 770 

@ 10, 05 ADD BUTTON oOp5Gr2Bt1 GROUP oOp5Gr2 BITMAP ".\Iconos\CheckOk2.png" ;
   SIZE 200, 20 PROMPT "Esto es una prueba" MOSTLEFT round

Muchas gracias!!!
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Cambios en RibbonBar en tiempo de ejecución

Post by Antonio Linares »

Revisa FWH\samples\rbdesign.prg

Te permite hacer todo eso en tiempo de ejecución
regards, saludos

Antonio Linares
www.fivetechsoft.com
nicinf
Posts: 13
Joined: Thu Oct 25, 2018 7:26 am

Re: Cambios en RibbonBar en tiempo de ejecución

Post by nicinf »

Eso haré.
Muchas gracias!!!
CARLOS ATUNCAR
Posts: 176
Joined: Thu Sep 17, 2015 11:40 pm
Location: Chincha - Peru
Contact:

Re: Cambios en RibbonBar en tiempo de ejecución

Post by CARLOS ATUNCAR »

Intento crear el ejecutable pero me da estos errores que lib estan faltando estoy usando
Buildx.bat
Lines 690, Functions/Procedures 26, pCodes 7286
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
rbdesign.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_FREOPEN_STDERR' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_HB_HRBRUN' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unable to perform link
* Linking errors *

Build.bat
Generating C source output to 'rbdesign.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
rbdesign.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_TWINDOW' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TRIBBONBAR' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TMSGBAR' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MENUBEGIN' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MENUADDITEM' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_SOURCEEDIT' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_CGETFILE' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MSGYESNO' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MENUEND' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TDIALOG' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TSAY' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TGET' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MSGINFO' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_CHOOSEGRADIENT' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_FREOPEN_STDERR' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_CVALTOCHAR' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_MSGSTOP' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TBUTTON' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TTREEVIEW' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_DELETEOBJECT' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_GRADIENTBMP' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_CREATEPATTERNBRUSH' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_BRIGHTIMG' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unable to perform link
* Linking errors *

Gracias
Carlos Atuncar - CaSoftSystem
Chincha - Perú
carlosalbatun@gmail.com
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Cambios en RibbonBar en tiempo de ejecución

Post by nageswaragunupudi »

rbdesign.prg works with Harbour only but not with xHarbour.
So we can not use buildx.bat
we can only use

Code: Select all | Expand

buildh rbdesign
if we have Harbour.

build.bat is used only to build pure harbour programs without fwh
Regards

G. N. Rao.
Hyderabad, India
CARLOS ATUNCAR
Posts: 176
Joined: Thu Sep 17, 2015 11:40 pm
Location: Chincha - Peru
Contact:

Re: Cambios en RibbonBar en tiempo de ejecución

Post by CARLOS ATUNCAR »

Gracias funciono
Carlos Atuncar - CaSoftSystem
Chincha - Perú
carlosalbatun@gmail.com
Post Reply