Need help with xpopup Thread last updated on 2006-02-17 15:57:59

Posted by member 206411 on 2006-02-08 23:46:31

I'm in the process of changing as much of the modules to xmodule series.. and I'm on the xpopup module now.

Honestly, I'm so lost, I don't even know what to ask...

1. One thing that I am wondering though, is if I have to change the popup.rc in "C:\LiteStep\personal\popup.rc" if I am using xpopup instead of normal popup...?

2. When I was using popup2-2.1.7, the minimum amount of coding I needed.. was.. well none. Although the popup would be retarded looking, the default popup (as opposed to theme popup) was there. But with xpopup, that was not the case.. What do I need to have in the .rc file to at see Something when i right click on the desktop..?

Posted by member 212670 on 2006-02-09 00:22:23 link

1. As of version xpopup-1.2.5, you shouldn't have to change your popup.rc.

2. See the readme: "Short Default Settings"

Posted by member 206411 on 2006-02-09 03:42:49 link

Ok, I got it to work, for some reason, I was working with version 1.1.3 or something like that.. anyway.

I have a problem with activeEntry settings. I am trying to make my popup have a gradient effect on the active (selected) portion of the popup. I basically want a gradient background when i hover over the popup. But for some reason, no matter what I do, nothing happends when I hover over the popup.. here is my code...
xpopupcompatibilitymode true

xpopupusesolidcolors true
xpopupSolidColors 000000
xpopupalphatransparency 200

xpopupminwidth 128
xpopupmaxwidth 512
xpopupoverlapx -2
xpopupoverlapy -1

xpopupTasksUpdateInterval 1000

xpopupautomenubreak true
xpopupautoseparator true
xpopupseparatorheight 1



xPopupEntryFontHeight 12
xPopupEntryfontcolor ffffff
xPopupEntryFontOutline true
xPopupEntryFontOutlineColor 000000
xpopupEntryfontleftborder 20

;xPopupActiveEntryfontcolor ffffff
;xPopupActiveEntryFontOutline true
;xPopupActiveEntryFontOutlineColor 000000
xpopupActiveEntrySolidGradientColors 000000 ffffff
xpopupActiveEntryBorderMethod "sunken"


xpopupEntryshowicon true
xpopupentryiconx 2
xpopupentryicony 2
xpopupactiveentryiconx 2
xpopupactiveentryicony 2


xpopupopensound "$themedir$misc\menuopen.wav"


Edit: and oh one more thing, the text arrow, does not work for some reason.. I have no idea why

Posted by member 212670 on 2006-02-09 04:07:59 link

Your ActiveEntry stuff isn't working because you're missing:
xPopupUseActiveEntrySolidColors true


You need that when not using images.

Also, you can remove "xpopupcompatibilitymode true". That's true by default as of 1.2.5.

To get a text arrow working, don't forget to define "xPopupUseTextArrow true". From there, you'll want to define a text character to use as an arrow, like "xPopupArrowText -". Then, define the rest like usual, using "xPopupArrow(option) value".

Posted by member 206411 on 2006-02-09 04:32:32 link

thanks xcal! the solidcolors suggestion worked.

the arrow text still isn't working... and I think I'm getting the syntax wrong.. but I don't know what is the correct sytanx.. It says here..

"Arrow" and "ActiveArrow" are special!
The "Arrow" and "ActiveArrow" Prefixes are for Custom Folder Text Indicators and are only painted on Folder Entry's ("Arrow" is Default for "ActiveArrow"!)
You can setup the Arrow and ActiveArrow Font with all normal Font settings. Simply set at (Entrytype) the Prefixes "Arrow" and "ActiveArrow"!

Text Arrow Setup
UseTextArrow BOOL
If set, the TextArrows are enabled.

ArrowText STRING
The String which is painted as the Normal Folder TextArrow.

ActiveArrowText STRING
The String which is painted as the Active Folder TextArrow.


and since i didn't really get what they were trying to say, i just tried this..
xpopupUseTextArrow true
xpopupArrowText >
xpopupActiveArrowText >>

Posted by member 212670 on 2006-02-09 05:13:06 link

Make sure you're aligning the arrow to where you want it to show up. By default, it aligns left, so it's probably hiding underneath icons or text.

Also, the arrow's color is (like any other popup font) black by default. So, if you have a dark background, change the arrow's color.

Like the readme says, Arrow and ActiveArrow work with the Font settings. Here's one example (you can figure the rest out from there, right?):
xPopupArrowFontAlign right

Posted by member 148416 on 2006-02-09 08:00:54 link

The alignment thing is commonly forgotten (by me anyways).

But you're going to need quotes around those chevrons (unless the forum eats quotes and you did have them in there originally).

Posted by member 206411 on 2006-02-09 13:28:55 link

thanks guys, it worked out, and i love the way it looks. By the way jdub, I didn't put in the quotes but it still worked... just fyi

Posted by member 206411 on 2006-02-15 22:32:57 link

Ok another problem (or more like question with) xPopup.

I want to define a color for the separator.. but I can't seem to find the right syntax, I tried the on-line read me, but I couldn't find anything.

Posted by member 1885 on 2006-02-15 23:01:20 link

Actually, xPopup uses the popup background for the separators in solid color mode... um, like, when you insert a separator you get a gap between the entries and through this the background shows through. So no, you can't define a separator color, it's always the same as the popup bg.

Posted by member 212670 on 2006-02-15 23:24:42 link

xPopupUseSeparatorSolidColors true
xPopupSeparatorSolidColors xxxxxx

xxxxxx being the color.

Posted by member 206411 on 2006-02-17 02:28:35 link

Thanks xcal, it worked.

and even though you weren't really right, thanks for the input west.(everyone makes mistakes)

Posted by member 212670 on 2006-02-17 02:31:05 link

West corrected me on something recently, so now we're even! :D

Posted by member 1885 on 2006-02-17 03:29:49 link

Hah :D

(I always thought it worked like that, I've never noticed there were any separator color settings... you learn something new every day.)

Posted by member 5575 on 2006-02-17 15:57:59 link

Only if you pay attention.