답변완료
강조
항상 감사합니다
표시는 잘 나옵니다
예) 이번달 6월은 표시가 나옵니다
지난년도 6월표시는 나오지않아요
---------------------------
지난표시(문자표)는 안나오는 건가요
캔들입힌색은 나오는뎅
문자표는 안 나오는데요
이전표시는 불가한가요?
____________________________
var : month(0),tx(0);
month = int(sdate/100)-int(sdate/10000)*100;
if month != month[1] and month == 6 Then
{
{ PlotPaintBar(o,c,"강조",green);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"6");
text_setStyle(tx,2,1);
text_setcolor(tx,green);
text_setsize(tx,20);
}
}
--------------------------------------------------------------
var : month(0),tx(0);
month = int(sdate/100)-int(sdate/10000)*100;
if month != month[1] and month == 2 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"2");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 4 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"4");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 5 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"5");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 7 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"7");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 8 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"8");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month ==10 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"10");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 11Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"11");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
if month != month[1] and month == 1 Then
{
{ PlotPaintBar(o,c,"강조",WHITE);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"1");
text_setStyle(tx,2,1);
text_setcolor(tx,WHITE);
text_setsize(tx,12);
}
}
----------------------------------------------------
var : count(0);
var : month(0);
var : tx(0);
month = int(date/100)-int(date/10000)*100;
if month != month[1] Then
{
Condition1 = true;
count = 0;
}
if Condition1 == true and bdate != bdate[1] and DayOfWeek(bdate) == 3 Then
{
count = count+1;
if count == 3 Then
{
PlotPaintBar(o,c,"강조",white);
Text_Delete(tx);
tx = Text_New(sdate,stime,H,"3");
text_setStyle(tx,2,1);
text_setcolor(tx,white);
text_setsize(tx,20);
}
}
2020-08-12
1339
글번호 141448
강조