Hi, adding prefs window to Mixer (sort of), found that in SLIDER hintinfo (GA_HintInfo)
doesn't work (missing something in code?).
Has someone the same problem/behaviour?
Can send full source (jabierdlrATgmail.com)
TIA
LAYOUT_AddChild, OBJ(GID_G_PRI) = NewObject(NULL, "slider.gadget", GA_ID, GID_G_PRI, GA_HintInfo, "CX_PRIORITY", GA_RelVerify, TRUE, SLIDER_Min, -128, SLIDER_Max, 127, SLIDER_Level, 0,//priority, SLIDER_Orientation, SORIENT_HORIZ, SLIDER_LevelFormat, "%ld", SLIDER_LevelPlace, PLACETEXT_IN, SLIDER_LevelJustify, SLJ_CENTER, SLIDER_LevelMaxLen, 4, SLIDER_LevelDomain, "-128", TAG_DONE), CHILD_WeightedHeight, 0, CHILD_Label, NewObject(NULL, "label.image", LABEL_Text, "Priority", TAG_DONE), ..
Do any of the gadgets' Help Hints work?
If you are use the Reaction Window Class WINDOW_GadgetHelp attrib to TRUE
to get any help hints to show up.
And can SET it to FALSE to turn them all off. FALSE is the default if you don't set WINDOW_GadgetHelp.
Tom
Yes, other gadgets show hints OK (checkbox.gadget, string.gadget, getfile.gadget,.. ).
Yes, I have WINDOW_GadgetHelp, TRUE (using ReAction, window.class)
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P
The problem is that slider.gadget < 53.14 only recognises GA_HintInfo in OM_SET method and not OM_NEW.
Until slider.gadget 53.14 or newer is released you can work around this by adding after the NewObject() calls:
IIntuition->SetAttrs(slider_object, GA_HintInfo, "slider help text", TAG_END);
OK thx.
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P