CompuServe Messages

#Passing Values to Arrays

    15-Oct-91 00:01:57
Fm: Jonathan Zuck (UFI) 76702,1605
To: Chester L. Kloss 72311,743
Chester, You are trying to assign a string (HEX$) to a LONG (MyRGB&). You should be able to simply MyRGB&(1) = HScroll1.Value. Are these scroll bars, RED, GREEN and BLUE? If so, you are going to need to create a composit number first before you assign it to MyRGB&. In this case, your line might look like: MyRGB&(1) = RGB(HScroll.Value, HScroll2.Value, HScroll3.Value). Clear? -=- Jonathan There is 1 Reply.