FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Big Popup
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Big Popup
Posted: Sat Oct 03, 2020 04:23 PM
for issues that I am not here to explain I had to move a menu (vtaskbar) from left to right.
this class has the ability to create popup submenus and I managed to make the menu appear no longer on the right but on the left,
now the problem is the popup menu which creates a huge space compared to the options that are entered.




and logically the menupopup is show bad that is bad to see because it comes out of the program window



obviously I could find a solution by moving the coordinates of the popup by n spaces

What do you think is the best 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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Big Popup
Posted: Sat Oct 03, 2020 07:05 PM
Please, use function SetSpaceXTrasPop( <nSpaces> ), before call your menu, and try
Save this value before change with this function
Not is possible use value 0, but is possible use negative values
Code (fw): Select all Collapse
static nOldXtras

Function Main()

    nOldXtras := SetSpaceXTrasPop()
....
     SetSpaceXTrasPop( 10 )


...
// Other function with other menu

   SetSpaceXTrasPop( nOldXtras )
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

Continue the discussion