creating sections

creating sections

Postby Silvio.Falconi » Tue May 09, 2017 3: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



Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: creating sections

Postby cnavarro » Tue May 09, 2017 4: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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: creating sections

Postby Silvio.Falconi » Tue May 09, 2017 5: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

Image

test.prg
Code: Select all  Expand view
#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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: creating sections

Postby Otto » Tue May 09, 2017 7:51 pm

Hello Silvio,
maybe xBrowse and RTF-field is an option.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: creating sections

Postby Silvio.Falconi » Wed May 10, 2017 7: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 113 guests