Page 1 of 1

CLASSE RADIO

PostPosted: Mon Sep 22, 2008 12:41 pm
by rasptty
É possível colocar na Horizontal os BT de Rádio isto é:

@ 1, 0 RADIO btradio ;
ITEMS "&One", "&Two", "T&hree" SIZE 80, 15;
ON CHANGE MsgBeep() OF oWnd

Resulta isto:
- One
- Two
- Three

Mas eu queria assim:
- One - Two - Three

Será que é possível?

Obrigado

PostPosted: Mon Sep 22, 2008 2:55 pm
by Antonio Linares
Sergio,

test.prg
Code: Select all  Expand view
#include "FWCE.ch"

function Main()

   local oDlg, oRad, nValue := 1

   DEFINE DIALOG oDlg SIZE 230, 100

   @ 0.2,  2 RADIO oRad VAR nValue ITEMS "One" OF oDlg SIZE 25, 20

   @ 0.2,  6 RADIOITEM "Two" RADIOMENU oRad OF oDlg SIZE 25, 20

   @ 0.2, 10 RADIOITEM "Three" RADIOMENU oRad OF oDlg SIZE 25, 20

   @ 1.7,  7 BUTTON "Value" OF oDlg ACTION MsgInfo( nValue )

   ACTIVATE DIALOG oDlg CENTERED

return nil

Image

PostPosted: Mon Sep 22, 2008 9:58 pm
by rasptty
Obrigado Linares

E Como faço para mudificar o tipo e tamanho de Letra?