We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge 4 - Colour buttons
#12
I still not get clear what you said but I will explain how it works.
In csharp there is dictionary in which object like button are stored.
https://github.com/sb/smallbasic-editor/...Library.cs
View line number 31 to 36 the method add button use namedcounter which on every new button added store ir as button1, button2
And when needed this button are used by there I'd to get the object and modify property using dictionary
ZS
Reply


Messages In This Thread
Challenge 4 - Colour buttons - by litdev - 09-04-2024, 06:06 PM
RE: Challenge 4 - Colour buttons - by jrmrhrb00 - 09-04-2024, 07:35 PM
RE: Challenge 4 - Colour buttons - by Scout - 09-04-2024, 09:23 PM
RE: Challenge 4 - Colour buttons - by litdev - 09-05-2024, 09:11 AM
RE: Challenge 4 - Colour buttons - by Scout - 09-05-2024, 11:16 AM
RE: Challenge 4 - Colour buttons - by WhTurner - 09-07-2024, 12:01 PM
RE: Challenge 4 - Colour buttons - by Scout - 09-07-2024, 08:12 PM
RE: Challenge 4 - Colour buttons - by jrmrhrb00 - 09-08-2024, 11:02 AM
RE: Challenge 4 - Colour buttons - by Scout - 09-08-2024, 08:45 PM
RE: Challenge 4 - Colour buttons - by z-s - 09-09-2024, 02:28 AM
RE: Challenge 4 - Colour buttons - by z-s - 09-09-2024, 04:07 AM
RE: Challenge 4 - Colour buttons - by litdev - 09-09-2024, 08:20 AM
RE: Challenge 4 - Colour buttons - by Scout - 09-09-2024, 09:26 AM
RE: Challenge 4 - Colour buttons - by z-s - 09-09-2024, 10:12 AM
RE: Challenge 4 - Colour buttons - by litdev - 09-09-2024, 11:16 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)