FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour creating sections
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
creating sections
Posted: Tue May 09, 2017 03:46 PM
I wish create a dialog with horizontal section readonly


Each section must have an big Image at left a text at center and a button at right as this structure

1= big Image
2= text ( rtf text)
3= button with menupopup





I can have many sections on a dialog

any solution please ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: creating sections
Posted: Tue May 09, 2017 04:11 PM

CLASS TLAYOUT ?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: creating sections
Posted: Tue May 09, 2017 05:28 PM
No perhaps Vistamenu if I Know how Modify it
the problem is insert the text normal or rtf and the button at right



test.prg
Code (fw): Select all Collapse
#include "fivewin.ch"

function main()
local oWnd
local oVmenu
local oItem
local oIcon

DEFINE ICON oIcon NAME "C5ICON"


DEFINE WINDOW oWnd TITLE "First test VistaMenu" ICON oIcon

    oVMenu := TDashBoard():New( 0,0, 100, 100, oWnd )
    oVMenu:nColumns := 1
    oVMenu:nType := 1

    oItem := oVMenu:AddItem( "Memo ", "CAL.BMP",,.t. )

    ctesto:= "Quest'area è una 'bacheca virtuale' dove appuntare ed avere sempre visibili le informazioni"+CRLF+;
             "più comuni ed utili, quali le coordinate bancarie dell'azienda, i numeri telefonici dei dipendenti,"+CRLF+;
             "i numeri telefonici dei fornitori per le emergenze, link internet interessanti, etc. "


    oItem:AddItem(ctesto ,,,.t. )
    oItem2 := oVMenu:AddItem( "Second Memo ", "CAL.BMP",,.t. )
    oWnd:oClient := oVMenu

ACTIVATE WINDOW oWnd

return 0
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: creating sections
Posted: Tue May 09, 2017 07:51 PM

Hello Silvio,
maybe xBrowse and RTF-field is an option.
Best regards,
Otto

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: creating sections
Posted: Wed May 10, 2017 07:30 AM

Otto,
yes it can be a solution

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion