Cambios en RibbonBar en tiempo de ejecución

Cambios en RibbonBar en tiempo de ejecución

Postby nicinf » Thu Oct 17, 2024 9: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!!!
nicinf
 
Posts: 13
Joined: Thu Oct 25, 2018 7:26 am

Re: Cambios en RibbonBar en tiempo de ejecución

Postby Antonio Linares » Thu Oct 17, 2024 9:10 am

Revisa FWH\samples\rbdesign.prg

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Cambios en RibbonBar en tiempo de ejecución

Postby nicinf » Fri Oct 18, 2024 7:09 am

Eso haré.
Muchas gracias!!!
nicinf
 
Posts: 13
Joined: Thu Oct 25, 2018 7:26 am

Re: Cambios en RibbonBar en tiempo de ejecución

Postby CARLOS ATUNCAR » 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ú
carlosalbatun@gmail.com
CARLOS ATUNCAR
 
Posts: 176
Joined: Thu Sep 17, 2015 11:40 pm
Location: Chincha - Peru

Re: Cambios en RibbonBar en tiempo de ejecución

Postby nageswaragunupudi » 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: Select all  Expand view
buildh rbdesign

if we have Harbour.

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10641
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Cambios en RibbonBar en tiempo de ejecución

Postby CARLOS ATUNCAR » Fri Oct 25, 2024 2:19 am

Gracias funciono
Carlos Atuncar - CaSoftSystem
Chincha - Perú
carlosalbatun@gmail.com
CARLOS ATUNCAR
 
Posts: 176
Joined: Thu Sep 17, 2015 11:40 pm
Location: Chincha - Peru


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 37 guests