hello all,i hope you all can help for this,i want showing image by clicking button,i have 5 button with parents panel 1 and i want show image to panel 2,my plan the image can be drag or rezise and image show all the time user want,i have idea for drag and rezise but for showing i haven't.
it need some array ? or it just click and show? thanks for your help,i need it for my task
ndoe
0
Light Poster
Recommended Answers
Jump to PostWe need to see some code so we figure out which GUI toolkit you are using and which picture format you want to load.
Jump to PostYou need to close your tag with
[/code] not [/python]import wx def create(parent): return Frame1(parent) [wxID_FRAME1, wxID_FRAME1BITMAPBUTTON1, wxID_FRAME1BITMAPBUTTON2, wxID_FRAME1PANEL1, wxID_FRAME1PANEL2, ] = [wx.NewId() for _init_ctrls in range(5)] class Frame1(wx.Frame): def _init_ctrls(self, prnt): # generated method, don't edit wx.Frame.__init__(self, id=wxID_FRAME1, name='', parent=prnt, pos=wx.Point(353, 258), size=wx.Size(773, 542), style=wx.DEFAULT_FRAME_STYLE, …
All 7 Replies
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
ndoe
0
Light Poster
jasimp
427
Senior Poster
Featured Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
ndoe
0
Light Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.