FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cambios en RibbonBar en tiempo de ejecución
Posts: 13
Joined: Thu Oct 25, 2018 07:26 AM
Cambios en RibbonBar en tiempo de ejecución
Posted: Thu Oct 17, 2024 09:01 AM
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!!!
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Cambios en RibbonBar en tiempo de ejecución
Posted: Thu Oct 17, 2024 09:10 AM

Revisa FWH\samples\rbdesign.prg

Te permite hacer todo eso en tiempo de ejecución

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 13
Joined: Thu Oct 25, 2018 07:26 AM
Re: Cambios en RibbonBar en tiempo de ejecución
Posted: Fri Oct 18, 2024 07:09 AM

Eso haré.

Muchas gracias!!!

Posts: 230
Joined: Thu Sep 17, 2015 11:40 PM
Re: Cambios en RibbonBar en tiempo de ejecución
Posted: Thu Oct 24, 2024 11:27 PM

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ú
+51983478218
carlosalbatun@gmail.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Cambios en RibbonBar en tiempo de ejecución
Posted: Thu Oct 24, 2024 11:55 PM
rbdesign.prg works with Harbour only but not with xHarbour.
So we can not use buildx.bat
we can only use
Code (fw): Select all Collapse
buildh rbdesign
if we have Harbour.

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



G. N. Rao.

Hyderabad, India
Posts: 230
Joined: Thu Sep 17, 2015 11:40 PM
Re: Cambios en RibbonBar en tiempo de ejecución
Posted: Fri Oct 25, 2024 02:19 AM

Gracias funciono

Carlos Atuncar - CaSoftSystem
Chincha - Perú
+51983478218
carlosalbatun@gmail.com

Continue the discussion