Page 1 of 1

Cambios en RibbonBar en tiempo de ejecución

Posted: Thu Oct 17, 2024 9:01 am
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!!!

Re: Cambios en RibbonBar en tiempo de ejecución

Posted: Thu Oct 17, 2024 9:10 am
by Antonio Linares
Revisa FWH\samples\rbdesign.prg

Te permite hacer todo eso en tiempo de ejecución

Re: Cambios en RibbonBar en tiempo de ejecución

Posted: Fri Oct 18, 2024 7:09 am
by nicinf
Eso haré.
Muchas gracias!!!

Re: Cambios en RibbonBar en tiempo de ejecución

Posted: Thu Oct 24, 2024 11:27 pm
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

Re: Cambios en RibbonBar en tiempo de ejecución

Posted: Thu Oct 24, 2024 11:55 pm
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

Re: Cambios en RibbonBar en tiempo de ejecución

Posted: Fri Oct 25, 2024 2:19 am
by CARLOS ATUNCAR
Gracias funciono