slider GA_HintInfo doesn't work?

5 posts / 0 new
Last post
jabirulo
jabirulo's picture
Offline
Last seen: 1 week 22 hours ago
Joined: 2013-05-30 00:53
slider GA_HintInfo doesn't work?
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
  1. LAYOUT_AddChild, OBJ(GID_G_PRI) = NewObject(NULL, "slider.gadget",
  2. GA_ID, GID_G_PRI,
  3. GA_HintInfo, "CX_PRIORITY",
  4. GA_RelVerify, TRUE,
  5. SLIDER_Min, -128,
  6. SLIDER_Max, 127,
  7. SLIDER_Level, 0,//priority,
  8. SLIDER_Orientation, SORIENT_HORIZ,
  9. SLIDER_LevelFormat, "%ld",
  10. SLIDER_LevelPlace, PLACETEXT_IN,
  11. SLIDER_LevelJustify, SLJ_CENTER,
  12. SLIDER_LevelMaxLen, 4,
  13. SLIDER_LevelDomain, "-128",
  14. TAG_DONE),
  15. CHILD_WeightedHeight, 0,
  16. CHILD_Label, NewObject(NULL, "label.image",
  17. LABEL_Text, "Priority",
  18. TAG_DONE),
  19. ..
tbreeden
tbreeden's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2010-12-09 03:10
Do any of the gadgets' Help
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
jabirulo
jabirulo's picture
Offline
Last seen: 1 week 22 hours ago
Joined: 2013-05-30 00:53
Yes, other gadgets show hints
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
salass00
salass00's picture
Offline
Last seen: 1 month 5 days ago
Joined: 2011-02-03 11:27
The problem is that
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);
jabirulo
jabirulo's picture
Offline
Last seen: 1 week 22 hours ago
Joined: 2013-05-30 00:53
OK thx.
OK thx.
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P
Log in or register to post comments