Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jsinicro

Pages: [1]
1
General Discussion / Re: Upcasting not working
« on: 21 January 2018, 10:18:43 »
OK, I'll try that awesome... thx

2
General Discussion / Upcasting not working
« on: 21 January 2018, 08:38:07 »
Hi, not sure whats going on but I have X number of Panels associated with a Tab so when I need to update the text in a Label in on of the panels with Panel::Ptr pnl = gui.get(pnlName) I get an error "NO viable conversion from shared_ptr<tgui::Widget> to shared_ptr<tgui::Panel> NO matter what I try I get the same result (i.e. panelVector[id]->get("labelName")->setText("newName); --setText not member of Widget).... any Ideas of what's going on I am using the latest .8 version on Mac... any thoughts appreciated...
Thx, Joe

Pages: [1]