Exemplo n.º 1
0
        public static SItem NewSItem(string Str, SItem Next)
        {
            SItem Item = new SItem();

            Item.Value = Str;
            Item.Next  = Next;
            return(Item);
        }
Exemplo n.º 2
0
        public Cluster(Rect Bounds, SItem AStrings) : base(Bounds)
        {
            Options |= OptionFlags.ofSelectable | OptionFlags.ofFirstClick | OptionFlags.ofPreProcess | OptionFlags.ofPostProcess | OptionFlags.ofVersion20;
            int   I = 0;
            SItem P = AStrings;

            while (P != null)
            {
                I++;
                P = P.Next;
            }
            Strings = new StringCollection();
            while (AStrings != null)
            {
                P = AStrings;
                Strings.Add(AStrings.Value);
                AStrings = AStrings.Next;
            }
            Value = 0;
            Sel   = 0;
            SetCursor(2, 0);
            ShowCursor();
            EnableMask = 0xFFFFFFFF;
        }
Exemplo n.º 3
0
 public RadioButtons(Rect Bounds, SItem AStrings) : base(Bounds, AStrings)
 {
 }
Exemplo n.º 4
0
 public CheckBoxes(Rect Bounds, SItem AStrings) : base(Bounds, AStrings)
 {
 }