View Full Version : calendar examples

04-11-2011, 11:40
hello dear thinbasic! I've downloaded thinbasic version yesterday. Lot of things have changed (forum update, I like it!) and became much more professional as a lot of new examples on sample script folders. Now I am looking for an example how I could start with a calendar (listview?) and pictures as thumbnails for a christmas calendar for my friend. I would see some links or examples I can choose for a good start. saludos, lydia

04-11-2011, 16:06
using google, there is an old excellent example by sandyrepope here
unfortunately it works in thinBasic_1.4.0.1 but not on the current version, i have added Michael correction about Line 224, and correcting mod usage from myYear mod 4 to mod(myYear, 4) the same for all other mod occurences.
there are other suggestions at the above link.
attached sandyrepope corrected slightly for the TB version 1.8.9

about thumbnails look at the new undocumented yet GDIp module example "C:\thinBasic\SampleScripts\GDIp\GDIp_LoadImage.tbasic" it display 5 big images as thumbnails. your job is to cook the GDIp example with the calendar example to provide something new.

09-11-2011, 11:17
thank you zak for calendar example. but can you send the fixed version? I have had problems with call back part to update to thinbasic lydia

Michael Clease
09-11-2011, 16:19
Here is an updated version but it still needs some work to bring it more up to date.

Images could be added using the IMAGECTX control or XPBUTTONS

10-11-2011, 11:07
I'm sitting in internet cafe and check you example this evening, after my job. thank you michael for your example!

question: my new member status is deactivated, why? - What is "reputation" and I can spend it for another guys they are helping at the board too like it was possible with old thinbasic forum? some infos can help.


10-11-2011, 14:00
Hi Lydia,

my new member status is deactivated, why?

Where do you see that?

What is "reputation" and I can spend it for another guys they are helping at the board too like it was possible with old thinbasic forum? some infos can help.

You can use the little star below the post you think need a reputation change, see attached image.
Than comments go into user profile reputation area


Michael Clease
10-11-2011, 15:09
question: my new member status is deactivated, why?


The member status is based on number of posts and possibly joining date ( is that correct Eros? )



12-11-2011, 13:46
I noticed only the missing "green lamp" below "member", other guys they are new (new member) have this one. so it cannot depend on number of messages at board. perhaps it's technology problem of updating profile from old thinbasic forum to new thinbasic forum. the talking club (shout box area) here is very active last week and month, but I am missing "programming club" about thinbasic language. as I left forum last year there were more threads about thinbasic programming examples. I managed in summer the pre-diplom in it-communication-and-advertisement (studying). well, have a good time, eros and michael all other good guys, lydia

13-11-2011, 10:27

you asked about how to give reputation points to Mike, I showed you but you didn't give any positive feedback to Mike.

I've rebuilt User Reputation and now your green lamp seems ok, so your idea seems the correct one

Regarding talking and programming, as I wrote into another post recently (http://www.thinbasic.com/community/showthread.php?11427-thinBasic-Forum&p=85050&viewfull=1#post85050) "My thought is that talking about programming for programming between programmers is a very limited situation and will for sure bring to a very limited forum"

Good luck for your studying.

15-11-2011, 13:02
hi eros, talking about programming language is intersting thing. but I meant more "thinbasic examples" (module, helps, tricks) and working with thinbasic here at forum. relationship of thinbasic examples of user's at the board to examples to the new "talking club" (shout box area) about social + science + all day stuffs don't look good for me (that's my private opinion) ;) it looks like 1:20. I've updated michaels rep. but I wish to update the calendar example with correct callbacks and tbmain() functions for it, greetings, lydia

15-11-2011, 17:39

I like to hear from others opinion and I like to express mine. That's the joy of a community.

My opinion is that thinBasic community forum has (at least but I'm sure there are more) more that 2000 source code examples posted by many users. But if I say they are 4000 I will not be far from the truth.
thinBasic application setup is released with more than 550 source code examples ready to be used. Check under thinBasic installation directory: \thinBasic\SampleScripts\
Plus there are other 55 or so advanced scripts working with advanced TBGL graphic concepts in TBGL Bonus pack (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95&task=view.download&cid=6)

Even if there is no a new example every day or so, I think there is enough material to have a look and to learn from.


15-11-2011, 21:41
in the gfabasic32 http://gfabasic32.blogspot.com/ which resembles vb6 with a visual designer, and a compiler, there is a one post every 3 months http://gb32.proboards.com/. in many famous programming languages there are one post per several months. so it is not a problem if there is no code every day or several days.but i suggest to collapse the contents of the shout box to the shout box button. so only the programming threads , science , math are on the first page even the code threads may be little but more than other prog langauages sites.

15-11-2011, 22:25
Sorry zak but that forum has just 33 threads for a total of 117 posts. Last post 26 September 2011
It can be a great software but that is not the kind of community I have in mind.

In any case, I will try to follow your suggestion a bit trying to understand how to compress general purposes forums into few one, putting them after thinBasic specific area.