VB Code:
Const Area_ = 225 Public Sub Create_Edit_Map(X_Area As Integer, Y_Area As Integer, Fill_Area As String) Dim X_ As Integer Dim Y_ As Integer Y_ = 0 X_ = 0 Do Until X_ = X_Area X_ = X_ + 1 Load Map_Edit.Map(X_ + Y_) Map_Edit.Map(X_ + Y_).Left = (Map_Edit.Map((X_ - 1) + Y_).Left + Area_) MsgBox X_ + Y_ & " | " & Map_Edit.Map(X_ + Y_).Left Loop End Sub
The msgbox correctly shows that the picture boxes do exist... however they don't show up on the form! I've checked if they are invisible and it's false... Their top is set to 0.
Also this is being called from a module... would that be the cause of this?
I'm trying to create a grid of picture boxes for a snake game im making.




Reply With Quote