Problem with ribbonbar and get
Posted: Sat Feb 29, 2020 12:18 pm
please test this sample
Code: Select all
#include "fivewin.ch"
#include "constant.ch"
#include "ribbon.ch"
function main()
local oRBar
local oWnd,oGr
local oFontBigNum
local oNum1,oNum2
local nNumFrom,nNumTo
nNumFrom := 1
nNumTO := 227
DEFINE FONT oFontBigNum NAME "VERDANA" SIZE 30,-40
DEFINE WINDOW oWnd TITLE "RibbonBar Test " + FWVERSION from 1,1 to 600,600 pixel //brush oBrush1
DEFINE RIBBONBAR oRBar WINDOW oWnd PROMPT "test numbers" HEIGHT 133 TOPMARGIN 25
ADD GROUP oGr RIBBON oRBar TO OPTION 1 PROMPT "test get" width 400
@ 9,10 GET oNum1 VAR nNumFrom SIZE 100,75 PIXEL OF oGr FONT oFontBigNum
@ 9,160 GET oNum2 VAR nNumTO SIZE 100,75 PIXEL OF oGr FONT oFontBigNum
oRBar:nLeftMargin = 75
oRBar:CalcPos()
oWnd:Center()
ACTIVATE WINDOW oWnd MAXIMIZED;
on init oNum1:refresh()
oRBar:End()
return ni
I not see the numbers on the get
I must click on each get and move the mouse into to see the numbers
why